aboutsummaryrefslogtreecommitdiff
path: root/random_status.py
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-23 09:08:16 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-23 10:31:05 +0200
commit3f2db95d5563c9c2b92a0531ddee28f79f438706 (patch)
treeee353ad4a0fcca9d59758f2e98efa3d9907096fc /random_status.py
parentb463bfa34471c1d3e65dfd4e22a99f4c84d7c5c6 (diff)
downloadminishell_test-3f2db95d5563c9c2b92a0531ddee28f79f438706.tar.gz
minishell_test-3f2db95d5563c9c2b92a0531ddee28f79f438706.tar.bz2
minishell_test-3f2db95d5563c9c2b92a0531ddee28f79f438706.zip
Added a few builtin/parenthesis tests
Diffstat (limited to 'random_status.py')
-rw-r--r--random_status.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/random_status.py b/random_status.py
new file mode 100644
index 0000000..171467f
--- /dev/null
+++ b/random_status.py
@@ -0,0 +1,7 @@
+import sys
+import random
+
+if __name__ == "__main__":
+ status = random.randrange(-2_000_000, 2_000_000)
+ print(status)
+ sys.exit(status)