]> Zhao Yanbai Git Server - minix.git/commitdiff
test32 fix
authorDavid van Moolenbroek <david@minix3.org>
Sun, 20 Sep 2009 16:47:57 +0000 (16:47 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 20 Sep 2009 16:47:57 +0000 (16:47 +0000)
test/test32.c

index 64d4d2cba7d9da19fae30a34c9fcb880f77e0c46..23bd89534f536e4a226379461679a0a6bb37597a 100644 (file)
@@ -219,7 +219,7 @@ void test32b()
                rename("old", "new");
                exit(0);
            default:
-               while (stat("old", &st) != 0)
+               while (stat("old", &st) == 0)
                        if (stat("new", &st) != 0) e(18);
                wait(&stat_loc);
                if (stat_loc != 0) e(19);       /* Alarm? */