Code

Add Libtap as a bundled library (does not change any behaviour without --enable-libtap)
[nagiosplug.git] / tap / tests / pass / test.pl
diff --git a/tap/tests/pass/test.pl b/tap/tests/pass/test.pl
new file mode 100644 (file)
index 0000000..8abc92e
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+
+use Test::More;
+
+my $rc = 0;
+
+$rc = plan tests => 2;
+diag("Returned: " . sprintf('%d', $rc));
+
+$rc = pass('test to pass');
+diag("Returned: $rc");
+
+$rc = pass('test to pass with extra string');
+diag("Returned: $rc");