summaryrefslogtreecommitdiff
path: root/tests/txinfo21.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-05-07 15:39:37 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-05-07 15:39:37 +0200
commit8e4e230f603e689c2415e1a621eafebb7540c6b2 (patch)
tree2283519951f9cd9657c17e08ec0352468b927b28 /tests/txinfo21.test
parent955eccc6c890186b8e94be35911c1dd82da4f6b0 (diff)
parenta370e2f5cd098af9b95314cdd49b0fbee6588a82 (diff)
downloadautomake-8e4e230f603e689c2415e1a621eafebb7540c6b2.tar.gz
Merge branch 'maint'
* maint: tests: fix spurious failure of txinfo21.test on FreeBSD
Diffstat (limited to 'tests/txinfo21.test')
-rwxr-xr-xtests/txinfo21.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/txinfo21.test b/tests/txinfo21.test
index 39b7a549a..eea48904f 100755
--- a/tests/txinfo21.test
+++ b/tests/txinfo21.test
@@ -94,11 +94,11 @@ test -d sub/main2.html
test -d rec/main3.html
# Rebuilding main.html should cause its timestamp to be updated.
-test `ls -1td main.texi main.html | sed 1q` = main.html
+is_newest main.html main.texi
$sleep
touch main.texi
$MAKE html
-test `ls -1td main.texi main.html | sed 1q` = main.html
+is_newest main.html main.texi
$MAKE clean
test ! -d main.html