X-Git-Url: https://git.ozlabs.org/?p=ponghero.git;a=blobdiff_plain;f=ccan%2Fccan_tools%2Flibtap%2Ftests%2Fpass%2Ftest.pl;fp=ccan%2Fccan_tools%2Flibtap%2Ftests%2Fpass%2Ftest.pl;h=b532f65e1e2fbf5f8b4c8fde5ab5f34c22c093ab;hp=0000000000000000000000000000000000000000;hb=3b07a088e47dffe99415cb01f42ea89c9185bdc5;hpb=4b884e9e3bff9f777f705d364627ce49ff4cedd6 diff --git a/ccan/ccan_tools/libtap/tests/pass/test.pl b/ccan/ccan_tools/libtap/tests/pass/test.pl new file mode 100644 index 0000000..b532f65 --- /dev/null +++ b/ccan/ccan_tools/libtap/tests/pass/test.pl @@ -0,0 +1,16 @@ +#!/usr/bin/perl + +use warnings; +use strict; + +use Test::More; + +my $rc = 0; + +plan tests => 2; + +$rc = pass('test to pass'); +diag("Returned: $rc"); + +$rc = pass('test to pass with extra string'); +diag("Returned: $rc");