summaryrefslogtreecommitdiff
path: root/test/feh.t
diff options
context:
space:
mode:
authorDennis Real <github@tildepipe.org>2012-03-16 19:13:47 +0100
committerDennis Real <github@tildepipe.org>2012-03-16 19:13:47 +0100
commit8e96382805eb77a82209df9d71dbf9c0dd1c4cdb (patch)
tree48c54b9715d88cb6e9f8455d689364b73b842f8f /test/feh.t
parent77fa5aca182435f2771511832ea198d027393ceb (diff)
parent29cd868898660c58b1925bf3647c4c63b7bd3151 (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'test/feh.t')
-rw-r--r--test/feh.t12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/feh.t b/test/feh.t
index 1c6556c..8746362 100644
--- a/test/feh.t
+++ b/test/feh.t
@@ -45,7 +45,7 @@ $cmd->stderr_is_eq('');
$cmd = Test::Command->new(cmd => "$feh --loadable $images");
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_like($re_loadable);
$cmd->stderr_is_eq('');
@@ -53,7 +53,7 @@ $cmd = Test::Command->new(
cmd => "$feh --loadable --action 'echo touch %f' $images"
);
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_is_file('test/nx_action/loadable_action');
$cmd->stderr_is_eq('');
@@ -61,7 +61,7 @@ $cmd = Test::Command->new(
cmd => "$feh --loadable --action ';echo touch %f' $images"
);
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_is_file('test/nx_action/loadable_naction');
$cmd->stderr_is_eq('');
@@ -69,7 +69,7 @@ $cmd = Test::Command->new(
cmd => "$feh --unloadable --action 'echo rm %f' $images"
);
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_is_file('test/nx_action/unloadable_action');
$cmd->stderr_is_eq('');
@@ -77,13 +77,13 @@ $cmd = Test::Command->new(
cmd => "$feh --unloadable --action ';echo rm %f' $images"
);
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_is_file('test/nx_action/unloadable_naction');
$cmd->stderr_is_eq('');
$cmd = Test::Command->new(cmd => "$feh --unloadable $images");
-$cmd->exit_is_num(0);
+$cmd->exit_is_num(1);
$cmd->stdout_like($re_unloadable);
$cmd->stderr_is_eq('');