aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xopt/tests/x-tests.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/opt/tests/x-tests.sh b/opt/tests/x-tests.sh
index fe46354..4cb6faf 100755
--- a/opt/tests/x-tests.sh
+++ b/opt/tests/x-tests.sh
@@ -1,5 +1,12 @@
#!/bin/sh
set -eu
-x echo
-x echo '&&' echo
+perl ~/.usr/bin/x2 echo
+perl ~/.usr/bin/x2 echo '&&' echo
+
+# Quoting stuff works
+perl bin/x2 echo "'abc\'"
+
+# "OR" has a stronger precedence
+perl bin/x2 echo a '||' this-executable-does-not-exist
+# FIXME