summaryrefslogtreecommitdiff
path: root/t/test-trs-recover.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-30 20:18:32 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-30 20:18:32 +0200
commit7a3a1b6d8b030312203c22e137f1d387566487b4 (patch)
treea0a361b2e965b76c0331ed443290cdf0f24ff537 /t/test-trs-recover.sh
parent0449b1dc510d65cdbb8c0aa4f46698c02c3fbc36 (diff)
parentf99ee7616ced4d07684a30a67b72e46aba00c65f (diff)
downloadautomake-7a3a1b6d8b030312203c22e137f1d387566487b4.tar.gz
Merge branch 'master' into ng/master
* master: texi: clean after Texinfo manuals in $(SUBDIRS) directories correctly coverage: regression in texinfo "make mostlyclean" with $(SUBDIRS) tests: fix a spurious failure configure: fix detection of POSIX shell to work in a VPATH build tests: prefer "test ! -e FILE" to check that a file doesn't exist configure: move a misplaced "section" comment configure: clump check for ${var%...} and ${var#...} expansion together cosmetics: improve wording of a couple of configure messages configure: the testsuite shell must support 'test -e' and 'test ! -e' tests: remove stale workarounds for Solaris /bin/sh Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/test-trs-recover.sh')
-rwxr-xr-xt/test-trs-recover.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/t/test-trs-recover.sh b/t/test-trs-recover.sh
index 1c24cef03..c782b9118 100755
--- a/t/test-trs-recover.sh
+++ b/t/test-trs-recover.sh
@@ -53,21 +53,21 @@ $MAKE check
rm -f foo.trs bar.trs baz.trs
$MAKE foo.trs
test -f foo.trs
-test ! -f bar.trs
-test ! -f baz.trs
+test ! -e bar.trs
+test ! -e baz.trs
: Recreate by hand, several at the same time.
rm -f foo.trs bar.trs baz.trs
$MAKE foo.trs bar.trs
test -f foo.trs
test -f bar.trs
-test ! -f baz.trs
+test ! -e baz.trs
: Recreate by hand, with a failing test.
rm -f foo.trs bar.trs
TEST_STATUS=1 $MAKE bar.trs baz.trs >stdout || { cat stdout; exit 1; }
cat stdout
-test ! -f foo.trs
+test ! -e foo.trs
test -f bar.trs
test -f baz.trs
grep '^FAIL: bar\.test' stdout
@@ -97,15 +97,15 @@ grep '^PASS: baz\.test' stdout
rm -f foo.trs bar.trs baz.trs
$MAKE TESTS=foo.test check
test -f foo.trs
-test ! -f bar.trs
-test ! -f baz.trs
+test ! -e bar.trs
+test ! -e baz.trs
: Recreate with a "make check" with redefined suffix-less TESTS.
rm -f foo.trs bar.trs baz.trs
$MAKE TESTS=bar check
-test ! -f foo.trs
+test ! -e foo.trs
test -f bar.trs
-test ! -f baz.trs
+test ! -e baz.trs
: Interactions with "make recheck" are OK.
rm -f foo.trs bar.trs baz.log baz.trs
@@ -113,8 +113,8 @@ $MAKE recheck >stdout || { cat stdout; exit 1; }
cat stdout
test -f foo.trs
test -f bar.trs
-test ! -f baz.trs
-test ! -f baz.log
+test ! -e baz.trs
+test ! -e baz.log
grep '^PASS: foo\.test' stdout
grep '^PASS: bar\.test' stdout
grep 'baz\.test' stdout && exit 1