<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">diff -bu Scriptalicious-1.16-812xAi/t/04-fork.t~ Scriptalicious-1.16-812xAi/t/04-fork.t
--- Scriptalicious-1.16-812xAi/t/04-fork.t~	2008-05-08 17:13:06.000000000 -0600
+++ Scriptalicious-1.16-812xAi/t/04-fork.t	2013-07-20 21:46:38.230709855 -0600
@@ -1,89 +0,0 @@
-#!/usr/bin/perl
-
-# Copyright 2005-2008, Sam Vilain.  All rights reserved.  This program
-# is free software; you can use it and/or distribute it under the same
-# terms as Perl itself; either the latest stable release of Perl when
-# the module was written, or any subsequent stable release.
-
-use warnings;
-use strict;
-use t::Util;
-
-use Scriptalicious;
-
-use Test::More tests =&gt; 17;
-
-my ($rc, @out) = capture_err($^X, "-Mlib=lib", "t/fork.pl", "-v");
-
-is($rc, 0, "Command completed successfully");
-
-my $out = join "", @out;
-
-like($out, qr/\(parent\)/, "Parent managed to use the timer");
-like($out, qr/\(child\)/, "Child managed to use the timer");
-
-# test that file descriptors can be fed in lots of different ways
-
-slop $testfile, "Hello, world!";
-my $output = capture( -in =&gt; $testfile,
-		      $^X, "-Mlib=lib", "t/loopback.pl");
-like($output, qr/:.*Hello, world!/, "run -in =&gt; 'FILENAME'");
-
-$output = capture( -in =&gt; sub { print "Hi there\n" },
-		   $^X, "-Mlib=lib", "t/loopback.pl");
-like($output, qr/:.*Hi there/, "run -in =&gt; SUB");
-
-open TEST, "&lt;$testfile" or barf "damn! $!";
-$output = capture( -in =&gt; \*TEST,
-		   $^X, "-Mlib=lib", "t/loopback.pl");
-like($output, qr/:.*Hello, world!/, "run -in =&gt; GLOB");
-close TEST;
-
-# output...
-$output = capture( -out =&gt; $testfile,
-		   -in  =&gt; sub { print "Loop this!\n" },
-		   $^X, "-Mlib=lib", "t/loopback.pl");
-is($output, "", "run out =&gt; 'FILENAME' (no output from capture)");
-$output = slurp $testfile;
-like($output, qr/:.*Loop this!/, "run -out =&gt; 'FILENAME'");
-
-$output = capture( -out =&gt; sub { my $foo = &lt;STDIN&gt;;
-				 slop $testfile, $foo;
-			     },
-		   -in  =&gt; sub { print "slopslopslop\n" },
-		   $^X, "-Mlib=lib", "t/loopback.pl");
-is($output, "", "run out =&gt; CODE (no output from capture)");
-$output = slurp $testfile;
-like($output, qr/:.*slopslopslop/, "run -out =&gt; CODE");
-
-open TEST, "&gt;$testfile" or barf $!;
-$output = capture( -out =&gt; \*TEST,
-		   -in  =&gt; sub { print "suckonthis!\n" },
-		   $^X, "-Mlib=lib", "t/loopback.pl");
-is($output, "", "run out =&gt; GLOB (no output from capture)");
-close TEST;
-$output = slurp $testfile;
-like($output, qr/:.*suckonthis!/, "run -out =&gt; GLOB");
-
-# explicit file descriptors...
-slop $testfile, "Burp";
-$output = capture( -in4  =&gt; $testfile,
-		   $^X, "-Mlib=lib", "t/loopback.pl", qw(-i 4));
-like($output, qr/Burp/, "-in4 =&gt; 'FILENAME'");
-
-slop $testfile, "Burp";
-$output = capture( -in =&gt; sub { print "It should be so easy!\n" },
-		   -out4  =&gt; $testfile,
-		   $^X, "-Mlib=lib", "t/loopback.pl", qw(-o 4));
-is($output, "", "-out4 =&gt; 'FILENAME' (no output from capture)");
-$output = slurp $testfile;
-like($output, qr/:.*easy!/, "run -out4 =&gt; 'FILENAME'");
-
-# last out!
-$output = capture( -in5 =&gt; sub { print "slurpamunchalot\n" },
-		   -out4  =&gt; sub { my $foo = &lt;STDIN&gt;;
-				   slop $testfile, $foo },
-		   $^X, "-Mlib=lib", "t/loopback.pl", qw(-o 4 -i 5));
-is($output, "", "run -out4 =&gt; CODE, -in4 =&gt; CODE (no output from capture)");
-$output = slurp $testfile;
-like($output, qr/:.*slurpamunchalot/, "run -out4 =&gt; CODE, -in4 =&gt; CODE");
</pre></body></html>