aboutsummaryrefslogtreecommitdiff
path: root/bin/sh/tests/builtins/fc3.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/tests/builtins/fc3.0')
-rw-r--r--bin/sh/tests/builtins/fc3.09
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/sh/tests/builtins/fc3.0 b/bin/sh/tests/builtins/fc3.0
new file mode 100644
index 000000000000..daa615bcc3ca
--- /dev/null
+++ b/bin/sh/tests/builtins/fc3.0
@@ -0,0 +1,9 @@
+export PS1='_ ' # cannot predict whether ran by root or not
+
+echo ': command1
+: command2
+: command3
+: command4
+fc -l -n -1
+fc -ln 2 3
+' | ENV= HISTFILE=/dev/null ${SH} +m -i