diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-20 01:11:33 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-01-20 01:11:33 -0500 |
commit | c54c481b5b7a1cb7d4a201fad9450d3abb198742 (patch) | |
tree | e1a9e7498120b96df2b3e5ebde980165c9be6f92 | |
parent | b129824bfc9c5c85cadf98dfb724405d63dfc6c3 (diff) |
fix librechroot testtesting-20140120
-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 |