about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/.distfiles1
-rw-r--r--Test/B06fc.ztst11
2 files changed, 12 insertions, 0 deletions
diff --git a/Test/.distfiles b/Test/.distfiles
index 6b72d8965..fcb61d7bd 100644
--- a/Test/.distfiles
+++ b/Test/.distfiles
@@ -13,6 +13,7 @@ B02typeset.ztst
 B03print.ztst
 B04read.ztst
 B05eval.ztst
+B06fc.ztst
 C01arith.ztst
 C02cond.ztst
 C03traps.ztst
diff --git a/Test/B06fc.ztst b/Test/B06fc.ztst
new file mode 100644
index 000000000..6195fd6ab
--- /dev/null
+++ b/Test/B06fc.ztst
@@ -0,0 +1,11 @@
+# Tests of fc command
+%prep
+
+ mkdir fc.tmp 
+ cd fc.tmp
+ print 'fc -l foo' >fcl
+ 
+%test
+  $ZTST_testdir/../Src/zsh ./fcl
+1:Checking that fc -l foo doesn't core dump history is empty
+?./fcl:fc:1: event not found: foo