summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/testh5diff.sh
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-19 15:34:12 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-06-19 15:34:12 (GMT)
commit83ddc834f4108b0b3f62666dbb191a32d5cf3b5b (patch)
treede5e0e15c75acf2c7ff6a72773a5f7a39a93bfc1 /tools/h5diff/testh5diff.sh
parentb98dea5cf1a6fc0e4ce37621720cf339148d3e3b (diff)
downloadhdf5-83ddc834f4108b0b3f62666dbb191a32d5cf3b5b.zip
hdf5-83ddc834f4108b0b3f62666dbb191a32d5cf3b5b.tar.gz
hdf5-83ddc834f4108b0b3f62666dbb191a32d5cf3b5b.tar.bz2
[svn-r15238]
Moved all h5diff testfiles from /tools/testfiles to tools/h5diff/testfiles Tested: linux, solaris
Diffstat (limited to 'tools/h5diff/testh5diff.sh')
-rwxr-xr-xtools/h5diff/testh5diff.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh
index 6685a66..6e31feb 100755
--- a/tools/h5diff/testh5diff.sh
+++ b/tools/h5diff/testh5diff.sh
@@ -29,6 +29,7 @@
## test file names
###############################################################################
+
FILE1=h5diff_basic1.h5
FILE2=h5diff_basic2.h5
FILE3=h5diff_types.h5
@@ -56,7 +57,7 @@ if test -z "$srcdir"; then
srcdir=.
fi
-test -d ../testfiles || mkdir ../testfiles
+test -d ./testfiles || mkdir ./testfiles
# Parse option
# -p run ph5diff tests
@@ -171,9 +172,9 @@ STDERR_FILTER() {
# that throws the shell script off.
#
TOOLTEST() {
- expect="$srcdir/../testfiles/$1"
- actual="../testfiles/`basename $1 .txt`.out"
- actual_err="../testfiles/`basename $1 .txt`.err"
+ expect="$srcdir/testfiles/$1"
+ actual="./testfiles/`basename $1 .txt`.out"
+ actual_err="./testfiles/`basename $1 .txt`.err"
actual_sav=${actual}-sav
actual_err_sav=${actual_err}-sav
shift
@@ -191,7 +192,7 @@ TOOLTEST() {
echo "#############################"
echo "Expected output for '$H5DIFF $@'"
echo "#############################"
- cd $srcdir/../testfiles
+ cd $srcdir/testfiles
if [ "`uname -s`" = "TFLOPS O/S" ]; then
eval $RUNCMD $H5DIFF_BIN $@
else