mirror of
https://github.com/troglobit/libite.git
synced 2026-11-17 19:30:17 +00:00
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:
1 parent
da21e02be0
commit
6c53ee819b
1 file changed
+2
-2
+2
-2
@@ -9,12 +9,12 @@ int main(void)
|
|||||||
};
|
};
|
||||||
|
|
||||||
erase(file);
|
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))
|
if (test(fexist(file), "Verifying %s does not yet exist", file))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
test(usleep(500000), "Waiting for runbg");
|
test(sleep(1), "Waiting for runbg");
|
||||||
|
|
||||||
if (test(!fexist(file), "Verifying %s has been created", file))
|
if (test(!fexist(file), "Verifying %s has been created", file))
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in new issue
Block a user