]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - tests/history1.sub
Imported from ../bash-4.0-rc1.tar.gz.
[thirdparty/bash.git] / tests / history1.sub
diff --git a/tests/history1.sub b/tests/history1.sub
new file mode 100644 (file)
index 0000000..543a3e8
--- /dev/null
@@ -0,0 +1,13 @@
+HISTFILE=foohist-$$
+unset HISTIGNORE HISTCONTROL
+set -o history
+
+history -c
+cat <<!
+one
+two
+three
+!
+
+history
+fc -s cat