diff options
author | 2016-11-10 19:29:49 +0000 | |
---|---|---|
committer | 2016-11-11 10:03:37 +0000 | |
commit | 8dc081031d6c0cf6d5e65915c7322e0aa79aeb54 (patch) | |
tree | 8e790d51422bc0d7a34d7914328fd07d5fb12ae8 /src/test/shell/unittest_test.sh | |
parent | 41b541754cb4176a8b39426c00bffb27cc9f57b6 (diff) |
Make unittest.bash fill in testsuite info
It was copying $XML to $XML.bak, then piping the output of that (the empty
string) through the seds.
Relevant to #2070.
--
MOS_MIGRATED_REVID=138783941
Diffstat (limited to 'src/test/shell/unittest_test.sh')
-rwxr-xr-x | src/test/shell/unittest_test.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/shell/unittest_test.sh b/src/test/shell/unittest_test.sh index 70f4aca1c3..2799aad1cb 100755 --- a/src/test/shell/unittest_test.sh +++ b/src/test/shell/unittest_test.sh @@ -63,6 +63,7 @@ EOF ./thing.sh &> $TEST_log && fail "thing.sh should fail" expect_not_log "__fail: No such file or directory" assert_contains "I'm a failure." ${TEST_TMPDIR}/dummy.xml + assert_contains 'errors="1"' ${TEST_TMPDIR}/dummy.xml } function test_no_failure_message() { |