Module Name:    src
Committed By:   jmmv
Date:           Sun Mar 17 05:56:47 UTC 2013

Modified Files:
        src/external/bsd/kyua-testers/dist: fs_test.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/kyua-testers/dist/fs_test.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/kyua-testers/dist/fs_test.c
diff -u src/external/bsd/kyua-testers/dist/fs_test.c:1.1.1.1 src/external/bsd/kyua-testers/dist/fs_test.c:1.2
--- src/external/bsd/kyua-testers/dist/fs_test.c:1.1.1.1	Tue Feb 19 06:01:39 2013
+++ src/external/bsd/kyua-testers/dist/fs_test.c	Sun Mar 17 05:56:46 2013
@@ -392,7 +392,7 @@ ATF_TC_BODY(cleanup__mount_point__busy, 
         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");

Reply via email to