aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-08-09 02:23:19 +0900
committernsfisis <nsfisis@gmail.com>2023-08-09 02:23:50 +0900
commit31cf15c2668253bc3c6b0efff9c76b9fb1cb3703 (patch)
tree1ed585fd7c3faffe409305792ed31b4ea390139e /test.sh
parent72ae324435b6f2a7371c3bd01a2e1ec19450fc55 (diff)
downloadtwitter2x-quine-31cf15c2668253bc3c6b0efff9c76b9fb1cb3703.tar.gz
twitter2x-quine-31cf15c2668253bc3c6b0efff9c76b9fb1cb3703.tar.zst
twitter2x-quine-31cf15c2668253bc3c6b0efff9c76b9fb1cb3703.zip
quine
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100644
index 0000000..abcc879
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,8 @@
+rm -f {1,2,3,4}.rb
+ruby q.rb > 1.rb
+ruby 1.rb > 2.rb
+ruby 2.rb > 3.rb
+ruby 3.rb > 4.rb
+
+diff 1.rb 3.rb || echo err
+diff 2.rb 4.rb || echo err