From f3ea7349c0de957e839edb394f357949491d7c67 Mon Sep 17 00:00:00 2001 From: Omar Rizwan Date: Fri, 25 Dec 2020 15:42:38 -0800 Subject: add some comments, do some cleanup --- test.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test.c') 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); -- cgit v1.2.3