summaryrefslogtreecommitdiff
path: root/tests/ifs-1.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ifs-1.test')
-rw-r--r--tests/ifs-1.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ifs-1.test b/tests/ifs-1.test
new file mode 100644
index 00000000..a153ce94
--- /dev/null
+++ b/tests/ifs-1.test
@@ -0,0 +1,5 @@
+OIFS="$IFS"
+IFS=":$IFS"
+eval foo="a:b:c"
+IFS="$OIFS"
+echo $foo