aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rwxr-xr-xtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 0d2595f..232fa45 100755
--- a/test.c
+++ b/test.c
@@ -24,11 +24,11 @@ char* expand(char* phrase) { // expand path with wildcard
// integration tests
int main() {
- system("node extension/background.js"); // run quick local JS tests
+ assert(system("node extension/background.js") == 0); // run quick local JS tests
// reload the extension so we know it's the latest code.
system("echo reload > fs/mnt/runtime/reload"); // this may error, but it should still have effect
- sleep(3);
+ sleep(4);
assert(system("echo about:blank > fs/mnt/tabs/create") == 0);
assert(file_contents_equal("fs/mnt/tabs/last-focused/url.txt", "about:blank"));