summaryrefslogtreecommitdiff
path: root/t/op.exec
diff options
context:
space:
mode:
Diffstat (limited to 't/op.exec')
-rw-r--r--t/op.exec12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/op.exec b/t/op.exec
new file mode 100644
index 0000000000..328e470889
--- /dev/null
+++ b/t/op.exec
@@ -0,0 +1,12 @@
+#!./perl
+
+# $Header: op.exec,v 1.0 87/12/18 13:13:26 root Exp $
+
+$| = 1; # flush stdout
+print "1..4\n";
+
+system "echo ok \\1"; # shell interpreted
+system "echo ok 2"; # split and directly called
+system "echo", "ok", "3"; # directly called
+
+exec "echo","ok","4";