summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-03-31 10:36:48 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-03-31 10:36:48 +0000
commita72fde192387945aae04c48f7d042b7b70c05b2f (patch)
treeefb59af87241e2c788084160e159355dbf4ca8a3 /t
parent5e2effedba1a42fdd24771629686159926922e60 (diff)
downloadperl-a72fde192387945aae04c48f7d042b7b70c05b2f.tar.gz
Upgrade to Test::Harness 2.27_02.
p4raw-id: //depot/perl@19102
Diffstat (limited to 't')
-rw-r--r--t/lib/sample-tests/no_output3
-rw-r--r--t/lib/sample-tests/segfault5
-rw-r--r--t/lib/sample-tests/too_many14
3 files changed, 22 insertions, 0 deletions
diff --git a/t/lib/sample-tests/no_output b/t/lib/sample-tests/no_output
new file mode 100644
index 0000000000..505acda7e6
--- /dev/null
+++ b/t/lib/sample-tests/no_output
@@ -0,0 +1,3 @@
+#!/usr/bin/perl -w
+
+exit;
diff --git a/t/lib/sample-tests/segfault b/t/lib/sample-tests/segfault
new file mode 100644
index 0000000000..c5670a42b5
--- /dev/null
+++ b/t/lib/sample-tests/segfault
@@ -0,0 +1,5 @@
+#!/usr/bin/perl
+
+print "1..1\n";
+print "ok 1\n";
+kill 11, $$;
diff --git a/t/lib/sample-tests/too_many b/t/lib/sample-tests/too_many
new file mode 100644
index 0000000000..46acaded4d
--- /dev/null
+++ b/t/lib/sample-tests/too_many
@@ -0,0 +1,14 @@
+print <<DUMMY;
+1..3
+ok 1
+ok 2
+ok 3
+ok 4
+ok 5
+ok 6
+ok 7
+DUMMY
+
+exit 4; # simulate Test::More's exit status
+
+