summaryrefslogtreecommitdiff
path: root/test/50-efa.t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-06-06 17:05:00 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-06-06 17:05:00 +0200
commita6f76d89efaa561a587290c8a6339fd0b9ebf63d (patch)
tree550a4f7f407dcc2ae63c12d418d1614aa8f29935 /test/50-efa.t
parent35577e1934ca191a277a528707a5312ec7169ac9 (diff)
Detect efa.vrr.de error messages
Diffstat (limited to 'test/50-efa.t')
-rw-r--r--test/50-efa.t10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/50-efa.t b/test/50-efa.t
index 1425696..067b70b 100644
--- a/test/50-efa.t
+++ b/test/50-efa.t
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.010;
-use Test::Command tests => 79;
+use Test::Command tests => 82;
my $efa = 'bin/efa';
my $testarg = "E HBf MH HBf";
@@ -144,3 +144,11 @@ $cmd = Test::Command->new(
$cmd->exit_is_num(1);
$cmd->stdout_is_file('test/parse_ambiguous');
$cmd->stderr_is_eq($EMPTY);
+
+$cmd = Test::Command->new(
+ cmd => "$efa $test_parse < test/dump_no_connections"
+);
+
+$cmd->exit_is_num(2);
+$cmd->stdout_is_file('test/parse_no_connections');
+$cmd->stderr_is_eq($EMPTY);