From: David van Moolenbroek Date: Sun, 20 Sep 2009 16:47:57 +0000 (+0000) Subject: test32 fix X-Git-Tag: v3.1.5~142 X-Git-Url: http://zhaoyanbai.com/repos/%24relpath%24tabs.css?a=commitdiff_plain;h=1fe1b219c983e8d50e0dd32c2e3f588c093c43b8;p=minix.git test32 fix --- diff --git a/test/test32.c b/test/test32.c index 64d4d2cba..23bd89534 100644 --- a/test/test32.c +++ b/test/test32.c @@ -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? */