From 73f522a99d261248cf0bcfdd861287a8b5ffa0af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 14 Apr 2017 16:41:20 +0200 Subject: Test read errors with both bulk and non-bulk reading --- wscript | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index 60970e69..f2bc0fd7 100644 --- a/wscript +++ b/wscript @@ -420,9 +420,13 @@ def test(ctx): ], 0, name='serdi-cmd-good') # Test read error by reading a directory - autowaf.run_test(ctx, APPNAME, 'serdi_static "file://%s/"' % srcdir, + autowaf.run_test(ctx, APPNAME, 'serdi_static -e "file://%s/"' % srcdir, 1, name='read_error') + # Test read error with bulk input by reading a directory + autowaf.run_test(ctx, APPNAME, 'serdi_static "file://%s/"' % srcdir, + 1, name='read_error_bulk') + # Test write error by writing to /dev/full if os.path.exists('/dev/full'): autowaf.run_test(ctx, APPNAME, -- cgit v1.2.1