Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/kyua-testers/dist Apply upstream change 1b82d0f...



details:   https://anonhg.NetBSD.org/src/rev/3a21d78ce65b
branches:  trunk
changeset: 785520:3a21d78ce65b
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Sun Mar 17 05:56:46 2013 +0000

description:
Apply upstream change 1b82d0fe146031526b73454cc64bca7ee1f5b87a:

Fix fs_test:cleanup__mount_point__busy

The first call to kyua_fs_cleanup in this test was supposed to fail as
it is exercising an error path.  But the check was reversed, expecting
no error.  Fix this obvious mistake.

diffstat:

 external/bsd/kyua-testers/dist/fs_test.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ce509cdae263 -r 3a21d78ce65b external/bsd/kyua-testers/dist/fs_test.c
--- a/external/bsd/kyua-testers/dist/fs_test.c  Sun Mar 17 05:47:48 2013 +0000
+++ b/external/bsd/kyua-testers/dist/fs_test.c  Sun Mar 17 05:56:46 2013 +0000
@@ -392,7 +392,7 @@
         while (!atf_utils_file_exists("done")) {}
         fprintf(stderr, "Child done; cleaning up\n");
 
-        ATF_REQUIRE(!kyua_error_is_set(kyua_fs_cleanup("root")));
+        ATF_REQUIRE(kyua_error_is_set(kyua_fs_cleanup("root")));
         ATF_REQUIRE(atf_utils_file_exists("root/dir1/dont-delete-me"));
 
         fprintf(stderr, "Killing child\n");



Home | Main Index | Thread Index | Old Index