summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-10-14 10:40:51 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-10-14 10:40:51 (GMT)
commitcc261eb5e5cd016ec1529f44759f73cda2dc52bf (patch)
treeee5c611e97402dfc625d731e56bf1e800e77f42f /test
parent2723efefd7c3013d9dbfcad4d641c287d4d8e462 (diff)
downloadhdf5-cc261eb5e5cd016ec1529f44759f73cda2dc52bf.zip
hdf5-cc261eb5e5cd016ec1529f44759f73cda2dc52bf.tar.gz
hdf5-cc261eb5e5cd016ec1529f44759f73cda2dc52bf.tar.bz2
[svn-r28068] Removed duplicated Perl check from configure.
Updated the testflushrefresh script to correctly use Perl. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2
Diffstat (limited to 'test')
-rw-r--r--test/testflushrefresh.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/testflushrefresh.sh.in b/test/testflushrefresh.sh.in
index 38d1870..e7593e3 100644
--- a/test/testflushrefresh.sh.in
+++ b/test/testflushrefresh.sh.in
@@ -40,11 +40,13 @@ nerrors=0
# like to use Perl. If it wasn't detected by configure, then use date, though
# this is less portable and might cause problems on machines that don't
# recognize the +%s option (like Solaris).
+#
+# Note that PERL will resolve to true or false, not a path.
PERL=@PERL@
if test -n "$PERL"; then
TimeStamp()
{
- time=`${PERL} -e 'print int(time)'`
+ time=`perl -e 'print int(time)'`
echo "$time"
}
else