summaryrefslogtreecommitdiff
path: root/content/other/stress.sh
diff options
context:
space:
mode:
Diffstat (limited to 'content/other/stress.sh')
-rw-r--r--content/other/stress.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/content/other/stress.sh b/content/other/stress.sh
new file mode 100644
index 0000000..d264c2a
--- /dev/null
+++ b/content/other/stress.sh
@@ -0,0 +1,7 @@
+for i in {1..1000}; do
+ printf "\r$i"
+ python3 gen.py > input # generate test with gen.py
+ ./a.out < input > out # execute ./a.out
+ ./b.out < input > out2 # execute ./b.out
+ diff out out2 || break
+done