aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rwxr-xr-xtest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.c b/test.c
index 232fa45..8164eb2 100755
--- a/test.c
+++ b/test.c
@@ -28,9 +28,12 @@ int main() {
// 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
+ // FIXME: race here
sleep(4);
+ // FIXME: synthesize some kind of web page
assert(system("echo about:blank > fs/mnt/tabs/create") == 0);
+ // FIXME: race here
assert(file_contents_equal("fs/mnt/tabs/last-focused/url.txt", "about:blank"));
assert(system("echo remove > fs/mnt/tabs/last-focused/control") == 0);