diff options
author | Omar Rizwan <omar@omar.website> | 2020-12-25 15:42:38 -0800 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2020-12-25 15:42:38 -0800 |
commit | f3ea7349c0de957e839edb394f357949491d7c67 (patch) | |
tree | 7887849e970d8921fe4d4aed89bdf13c9492fb06 /test.c | |
parent | c4d9cb7b54bcfb2b3f1537f2710109374712bd2c (diff) |
add some comments, do some cleanup
Diffstat (limited to 'test.c')
-rwxr-xr-x | test.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |