summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2015-09-08 03:21:41 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2015-09-08 03:21:41 (GMT)
commite4a22c1957c3b51da7807a81d8e0c5ba37697d02 (patch)
treee84d7155a4d81649d4f5e1169640226c62043ab0
parentb6f4eee12f80f32833b8b1b4891a821578626941 (diff)
downloadhdf5-e4a22c1957c3b51da7807a81d8e0c5ba37697d02.zip
hdf5-e4a22c1957c3b51da7807a81d8e0c5ba37697d02.tar.gz
hdf5-e4a22c1957c3b51da7807a81d8e0c5ba37697d02.tar.bz2
[svn-r27693] HDFFV-0: bug fix
Problem: the script tried to launch the test command as "a.out" but not all userss would have "." included in their $PATH for safety concerns. Solution: Changed the mere "a.out" to "./a.out" so that the script knows how to launch the test program. Tested: AIX Ada (where I don't have '.' in my $PATH)
-rw-r--r--test/test_usecases.sh.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test_usecases.sh.in b/test/test_usecases.sh.in
index 081992e..b88aee7 100644
--- a/test/test_usecases.sh.in
+++ b/test/test_usecases.sh.in
@@ -143,14 +143,14 @@ fi
# main body
for p in $USECASES_PROGRAMS; do
- TOOLTEST $p
- TOOLTEST $p -z 256
+ TOOLTEST ./$p
+ TOOLTEST ./$p -z 256
tmpfile=/tmp/datatfile.$$
- TOOLTEST $p -f $tmpfile; rm -f $tmpfile
- TOOLTEST $p -l w
- TOOLTEST $p -l r
+ TOOLTEST ./$p -f $tmpfile; rm -f $tmpfile
+ TOOLTEST ./$p -l w
+ TOOLTEST ./$p -l r
# use case 1.9, testing with multi-planes chunks
- TOOLTEST $p -z 256 -y 5 # 5 planes chunks
+ TOOLTEST ./$p -z 256 -y 5 # 5 planes chunks
# cleanup temp datafile
if test -z "$HDF5_NOCLEANUP"; then
rm -f $p.h5