[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {test-protocols} maintcheck: fix spurious failure w.r.t. use of ba
From: |
Stefano Lattarini |
Subject: |
[FYI] {test-protocols} maintcheck: fix spurious failure w.r.t. use of bare "exit" |
Date: |
Fri, 5 Aug 2011 14:28:19 +0200 |
User-agent: |
KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) |
* tests/check12.test: Cosmetic changes to avoid triggering a
spurious failure of the `sc_tests_Exit_not_exit' maintainer
check.
---
ChangeLog | 7 +++++++
tests/check12.test | 16 ++++++++--------
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 0c36417..2342060 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-08-05 Stefano Lattarini <address@hidden>
+ maintcheck: fix spurious failure w.r.t. use of bare "exit"
+ * tests/check12.test: Cosmetic changes to avoid triggering a
+ spurious failure of the `sc_tests_Exit_not_exit' maintainer
+ check.
+
+2011-08-05 Stefano Lattarini <address@hidden>
+
check: update comments to reflect recent heavy changes
* lib/am/check.am [%?PARALLEL_TESTS%]: Update the comments to
reflect the recent changes. Remove quite many comments that
diff --git a/tests/check12.test b/tests/check12.test
index 27d61f6..e36a94d 100755
--- a/tests/check12.test
+++ b/tests/check12.test
@@ -34,12 +34,12 @@ END
cat > a.test << 'END'
#!/bin/sh
-echo a.test: exit ${A_EXIT_STATUS-0}
+echo a.test: exit status: ${A_EXIT_STATUS-0}
exit ${A_EXIT_STATUS-0}
END
cat > b.test << 'END'
#!/bin/sh
-echo b.test: exit ${B_EXIT_STATUS-0}
+echo b.test: exit status: ${B_EXIT_STATUS-0}
exit ${B_EXIT_STATUS-0}
END
chmod +x a.test b.test
@@ -174,10 +174,10 @@ for vpath in : false; do
cat test-suite.log
cat a.log
cat b.log
- grep '^a\.test: exit 0$' a.log
- grep '^b\.test: exit 1$' b.log
+ grep '^a\.test: exit status: 0$' a.log
+ grep '^b\.test: exit status: 1$' b.log
grep '^FAIL: b$' test-suite.log
- grep '^b\.test: exit 1$' test-suite.log
+ grep '^b\.test: exit status: 1$' test-suite.log
grep '^a\.test' test-suite.log && Exit 1
else :; fi
@@ -197,10 +197,10 @@ for vpath in : false; do
cat test-suite.log
cat a.log
cat b.log
- grep '^a\.test: exit 0$' a.log
- grep '^b\.test: exit 23$' b.log
+ grep '^a\.test: exit status: 0$' a.log
+ grep '^b\.test: exit status: 23$' b.log
grep '^FAIL: b$' test-suite.log
- grep '^b\.test: exit 23$' test-suite.log
+ grep '^b\.test: exit status: 23$' test-suite.log
grep '^a\.test' test-suite.log && Exit 1
else :; fi
grep 'check-local failed :-(' local.log
--
1.7.2.3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {test-protocols} maintcheck: fix spurious failure w.r.t. use of bare "exit",
Stefano Lattarini <=