aboutsummaryrefslogtreecommitdiff
path: root/t/03two.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03two.t')
-rw-r--r--t/03two.t23
1 files changed, 23 insertions, 0 deletions
diff --git a/t/03two.t b/t/03two.t
new file mode 100644
index 0000000..9b0ce0f
--- /dev/null
+++ b/t/03two.t
@@ -0,0 +1,23 @@
+use lib 't';
+
+use strict;
+use warnings;
+use TestCapture;
+use Test::More tests => 1;
+
+our($catbin, $input, $content);
+
+ok(TestCapture([[$catbin, '-l', 337, '-o', $input, '-s', 628, '-l', 734, '-e', $input]],
+ stdout => {
+ nlines => 8,
+ length => 337,
+ content => substr($content, 0, 337)
+ },
+ stderr => {
+ nlines => 11,
+ length => 734,
+ content => substr($content, 628, 734)
+ }
+ ));
+
+

Return to:

Send suggestions and report system problems to the System administrator.