test32 fix

This commit is contained in:
David van Moolenbroek 2009-09-20 16:47:57 +00:00
parent f2def7d360
commit 1fe1b219c9

View 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? */