fix skip condition

This commit is contained in:
Slaven Rezic 2016-07-24 11:50:16 +02:00
parent 3467c5191d
commit ab1dde0e8c

View file

@ -479,7 +479,7 @@ is( $trap->stderr,
);
SKIP: {
skip "Test inappropriate when running as root", 5, $< == 0;
skip "Test inappropriate when running as root", 5 if $< == 0;
note('move of .csshrc failure');
$ENV{HOME} = tempdir( CLEANUP => 1 );
open( $csshrc, '>', $ENV{HOME} . '/.csshrc' );