diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-07-01 22:33:16 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-07-01 22:33:16 +0100 |
commit | 71963a08d32daf5ffb356fa427f1499c4ca5b4cc (patch) | |
tree | 1b36766ea2ff39036431f653e8d8eafb28f0c808 /yarn.tests | |
parent | f34dda2a1f36c55fffc1fdddd9ddb9ff9df2d59b (diff) | |
download | cmdtest-71963a08d32daf5ffb356fa427f1499c4ca5b4cc.tar.gz |
Fix capture of warning now it goes to stderr
Diffstat (limited to 'yarn.tests')
-rwxr-xr-x | yarn.tests/warn-if-empty.script | 2 |
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 |