aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2020-12-25 15:42:38 -0800
committerOmar Rizwan <omar@omar.website>2020-12-25 15:42:38 -0800
commitf3ea7349c0de957e839edb394f357949491d7c67 (patch)
tree7887849e970d8921fe4d4aed89bdf13c9492fb06 /test.c
parentc4d9cb7b54bcfb2b3f1537f2710109374712bd2c (diff)
add some comments, do some cleanup
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);