summaryrefslogtreecommitdiffstats
path: root/tests/vredir3.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vredir3.sub')
-rw-r--r--tests/vredir3.sub8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/vredir3.sub b/tests/vredir3.sub
new file mode 100644
index 0000000..358ded2
--- /dev/null
+++ b/tests/vredir3.sub
@@ -0,0 +1,8 @@
+# Right now, the {varname} mechanism does not honor set -u for compatibility
+unset v
+set -u
+exec {v}>&-
+
+echo after
+
+exit 0