summaryrefslogtreecommitdiff
path: root/tests/comsub5.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/comsub5.sub')
-rw-r--r--tests/comsub5.sub4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/comsub5.sub b/tests/comsub5.sub
index 1ec41645..48bf62d4 100644
--- a/tests/comsub5.sub
+++ b/tests/comsub5.sub
@@ -13,9 +13,11 @@
#
# this is a new feature: expanding aliases when initially parsing command
-# substitutions
+# substitutions. required by posix, so enabled in posix mode. default mode
+# stays backwards compatible.
shopt -s expand_aliases
+set -o posix
alias switch=case