aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-01-17 01:21:52 +0900
committernsfisis <nsfisis@gmail.com>2023-01-17 01:21:57 +0900
commit67744974df46b1f78de9acc227f62d1e6db5f393 (patch)
treea75d847d347f9f9c81bb8fe82848d9b158272e77 /test.sh
parent00b1a28374f71dcb521662788343cd72f53f5c22 (diff)
downloadphpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.gz
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.tar.zst
phpstudy-148-slides-67744974df46b1f78de9acc227f62d1e6db5f393.zip
スライド作成
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100644
index 0000000..87efd7c
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,13 @@
+if [[ ! "$(php polyglot.txt)" = '#php' ]]; then
+ echo php >&2
+ exit 1
+fi
+if [[ ! "$(ruby polyglot.txt)" = '#ruby' ]]; then
+ echo ruby >&2
+ exit 1
+fi
+if [[ ! "$(perl polyglot.txt)" = '#perl' ]]; then
+ echo perl >&2
+ exit 1
+fi
+echo okay