diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/librechroot-test.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/librechroot-test.sh b/test/librechroot-test.sh index 442abed..d458cd9 100644 --- a/test/librechroot-test.sh +++ b/test/librechroot-test.sh @@ -65,7 +65,7 @@ it_displays_help_and_fails_with_0_args() { [[ $stat != 0 ]] empty $tmpdir/stdout - [[ "$(sed 1q $tmpdir/stderr)" =~ Usage:.* ]] + [[ "$(sed -n 2p $tmpdir/stderr)" =~ Usage:.* ]] } # requires sudo so we know it's not failing because it needs root |