summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author <shinichiro.hamaji@gmail.com>2013-02-01 05:46:37 (GMT)
committer <shinichiro.hamaji@gmail.com>2013-02-01 05:46:37 (GMT)
commit069ee58a0987ea25f07beb1ffe8b275279ac23e0 (patch)
tree26b69c0921862af47ed847a6eaab3f36857b3e18 /src
parente6af5ea5f195f456f28fdec1dafad007cdd10086 (diff)
downloadglog-069ee58a0987ea25f07beb1ffe8b275279ac23e0.zip
glog-069ee58a0987ea25f07beb1ffe8b275279ac23e0.tar.gz
glog-069ee58a0987ea25f07beb1ffe8b275279ac23e0.tar.bz2
Fix Mac test failure
We need only the first line from signalhandler.out3 git-svn-id: https://google-glog.googlecode.com/svn/trunk@131 eb4d4688-79bd-11dd-afb4-1d65580434c0
Diffstat (limited to 'src')
-rwxr-xr-xsrc/signalhandler_unittest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signalhandler_unittest.sh b/src/signalhandler_unittest.sh
index 3b57b05..265cd45 100755
--- a/src/signalhandler_unittest.sh
+++ b/src/signalhandler_unittest.sh
@@ -111,7 +111,7 @@ done
# Test for a case the program dies in a non-main thread.
$BINARY die_in_thread 2> signalhandler.out3
-EXPECTED_TID="`sed 's/ .*//' signalhandler.out3`"
+EXPECTED_TID="`sed 's/ .*//; q' signalhandler.out3`"
for pattern in SIGFPE DieInThread "TID $EXPECTED_TID" "Aborted at [0-9]"; do
if ! grep --quiet "$pattern" signalhandler.out3; then