summaryrefslogtreecommitdiffstats
path: root/test/bashisms/ash-setvar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/bashisms/ash-setvar.sh')
-rw-r--r--test/bashisms/ash-setvar.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/bashisms/ash-setvar.sh b/test/bashisms/ash-setvar.sh
new file mode 100644
index 0000000..c0ae403
--- /dev/null
+++ b/test/bashisms/ash-setvar.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+setvar foo bar # BASHISM
+[ bar = "$foo" ]