tests: Better isolate search text in test of error reporting.
[pspp] / tests / ui / terminal / main.at
index 38a88eca14a779174d838d8218ad836f2690c36e..1a22f7a0e85825b363dc046257e235b1d0ac556e 100644 (file)
@@ -34,5 +34,6 @@ include the syntax file that triggered it and a sample
 of any data file used for input.
 proximate cause:     Segmentation Violation
 ])
-AT_CHECK([sed '/proximate/q' < stderr], [0], [expout])
+AT_CHECK([sed -n '/\*\*\*/,$p
+/proximate/q' < stderr], [0], [expout])
 AT_CLEANUP