summaryrefslogtreecommitdiff
path: root/test/librechroot-test.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-20 01:11:33 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-20 01:11:33 -0500
commitc54c481b5b7a1cb7d4a201fad9450d3abb198742 (patch)
treee1a9e7498120b96df2b3e5ebde980165c9be6f92 /test/librechroot-test.sh
parentb129824bfc9c5c85cadf98dfb724405d63dfc6c3 (diff)
fix librechroot testtesting-20140120
Diffstat (limited to 'test/librechroot-test.sh')
-rw-r--r--test/librechroot-test.sh2
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