From d14838cf7217d27e499908fe324ebf4cd7863ed8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Apr 2019 22:05:05 +0200 Subject: Test that all bad commands print error messages --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index eb6fe34f..fafa76b3 100644 --- a/wscript +++ b/wscript @@ -413,7 +413,7 @@ def test(tst): with tempfile.TemporaryFile(mode='r') as stdin: check([serdi, '-'], stdin=stdin) - with tst.group('BadCommands', expected=1) as check: + with tst.group('BadCommands', expected=1, stderr=autowaf.NONEMPTY) as check: check([serdi]) check([serdi, '/no/such/file']) check([serdi, 'ftp://example.org/unsupported.ttl']) @@ -424,7 +424,7 @@ def test(tst): check([serdi, '-o', 'illegal']) check([serdi, '-o']) check([serdi, '-p']) - check([serdi, '-q', '%s/tests/bad/bad-id-clash.ttl' % srcdir]) + check([serdi, '-q', '%s/tests/bad/bad-base.ttl' % srcdir], stderr=None) check([serdi, '-r']) check([serdi, '-z']) -- cgit v1.2.1