diff options
author | David Robillard <d@drobilla.net> | 2016-09-18 14:05:10 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-09-18 14:05:31 -0400 |
commit | a03b1bdf0fb236cec2e39171babbf8cbdc1b70bc (patch) | |
tree | 954e42e1c71d950cc4efb62511714ba90041862f /wscript | |
parent | ea25ed64486ca1e28840d2934e0103a21edbb5ce (diff) | |
download | sord-a03b1bdf0fb236cec2e39171babbf8cbdc1b70bc.tar.gz sord-a03b1bdf0fb236cec2e39171babbf8cbdc1b70bc.tar.bz2 sord-a03b1bdf0fb236cec2e39171babbf8cbdc1b70bc.zip |
Correctly report write errors
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -290,6 +290,14 @@ def test(ctx): 0, name='sordi-cmd-good') autowaf.run_tests(ctx, APPNAME, [ + # Test read error by reading a directory + 'sordi_static "file://%s/"' % srcdir, + + # Test write error by writing to /dev/full + 'sordi_static "file://%s/tests/manifest.ttl" > /dev/full' % srcdir + ], 1, name='io_errors') + + autowaf.run_tests(ctx, APPNAME, [ 'sordi_static > %s' % nul, 'sordi_static ftp://example.org/unsupported.ttl > %s' % nul, 'sordi_static -i > %s' % nul, |