test: adjust times again

Running the tests in a Debian container seem to be taking way too long.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-09-17 12:26:08 +02:00
parent da21e02be0
commit 6c53ee819b
+2 -2
View File
@@ -9,12 +9,12 @@ int main(void)
};
erase(file);
test(runbg(cmd, 200000), "Calling runbg");
test(runbg(cmd, 100000), "Calling runbg");
if (test(fexist(file), "Verifying %s does not yet exist", file))
return 1;
test(usleep(500000), "Waiting for runbg");
test(sleep(1), "Waiting for runbg");
if (test(!fexist(file), "Verifying %s has been created", file))
return 1;