summaryrefslogtreecommitdiff
path: root/yarn.tests
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-07-01 22:33:16 +0100
committerLars Wirzenius <liw@liw.fi>2013-07-01 22:33:16 +0100
commit71963a08d32daf5ffb356fa427f1499c4ca5b4cc (patch)
tree1b36766ea2ff39036431f653e8d8eafb28f0c808 /yarn.tests
parentf34dda2a1f36c55fffc1fdddd9ddb9ff9df2d59b (diff)
downloadcmdtest-71963a08d32daf5ffb356fa427f1499c4ca5b4cc.tar.gz
Fix capture of warning now it goes to stderr
Diffstat (limited to 'yarn.tests')
-rwxr-xr-xyarn.tests/warn-if-empty.script2
1 files changed, 1 insertions, 1 deletions
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