aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2020-12-19 17:11:59 -0800
committerOmar Rizwan <omar@omar.website>2020-12-19 17:11:59 -0800
commit9e23fc59fc8fb3ee94aca07e2a2f7fa5d309df06 (patch)
treebe57ba6edd01b18cc7ce8a2a4f6195ec06f5422d /test.c
parent375e91bdd75460340b5841d418ad6984ebaa7621 (diff)
remove tab at end of test
Diffstat (limited to 'test.c')
-rwxr-xr-xtest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test.c b/test.c
index 15e2c51..a5f928e 100755
--- a/test.c
+++ b/test.c
@@ -15,10 +15,11 @@ int file_contents_equal(char* path, char* contents) {
}
// integration tests
-int main() {
+int main(int argc, char** argv) {
assert(system("echo about:blank > fs/mnt/tabs/create") == 0);
assert(file_contents_equal("fs/mnt/tabs/last-focused/url", "about:blank"));
assert(system("file fs/mnt/tabs/last-focused/screenshot.png") == 0);
-
+ assert(system("echo remove > fs/mnt/tabs/last-focused/control") == 0);
+
assert(1); printf("Done!\n");
}