diff options
author | Omar Rizwan <omar@omar.website> | 2020-12-29 03:52:17 -0800 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2020-12-29 03:52:17 -0800 |
commit | 705b245be5ea7e69f04c1ab370962de054800bb0 (patch) | |
tree | d2ffb73fcb548855d45aae87cf79ee3e71829502 /test | |
parent | 44c8dfcec6e04a19ef78e2de38c97f49f9fcb8d5 (diff) |
prevent explosion of scriptsForTab!
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.c b/test/test.c index b4fe5b4..edb1c99 100644 --- a/test/test.c +++ b/test/test.c @@ -41,6 +41,9 @@ int main() { assert(system("echo file://$(pwd)/test-page.html > ../fs/mnt/tabs/create") == 0); assert(file_contents_equal("../fs/mnt/tabs/last-focused/title.txt", "Title of Test Page")); assert(file_contents_equal("../fs/mnt/tabs/last-focused/text.txt", "Body Text of Test Page")); + + assert(system("ls ../fs/mnt/tabs/last-focused/debugger/scripts") == 0); + assert(system("echo remove > ../fs/mnt/tabs/last-focused/control") == 0); } |