From 71963a08d32daf5ffb356fa427f1499c4ca5b4cc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 1 Jul 2013 22:33:16 +0100 Subject: Fix capture of warning now it goes to stderr --- yarn.tests/warn-if-empty.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yarn.tests') diff --git a/yarn.tests/warn-if-empty.script b/yarn.tests/warn-if-empty.script index 7a5c028..3594929 100755 --- a/yarn.tests/warn-if-empty.script +++ b/yarn.tests/warn-if-empty.script @@ -6,5 +6,5 @@ touch "$DATADIR/empty.yarn" # The grep below will fail unless the string exists, thereby failing the # entire test. -./yarn --log=/dev/stdout "$DATADIR/empty.yarn" | +./yarn --log=/dev/stdout "$DATADIR/empty.yarn" 2>&1 | grep 'No scenario code blocks' > /dev/null -- cgit v1.2.1