diff options
author | Daniel Friesel <derf@finalrewind.org> | 2012-03-15 21:16:16 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2012-03-15 21:16:16 +0100 |
commit | 29cd868898660c58b1925bf3647c4c63b7bd3151 (patch) | |
tree | be995936651b80fe6e4678662df69089b779ace1 /test/feh.t | |
parent | 338553950063615b59d80d2148d208b490c3d0bd (diff) |
--(un|)loadable: indicate results in exit code
Diffstat (limited to 'test/feh.t')
-rw-r--r-- | test/feh.t | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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(''); |