aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-14 11:52:57 +0100
committerDavid Robillard <d@drobilla.net>2020-11-14 11:54:54 +0100
commit2bf875e89f98c64164f563a8d1fae2851d9c023c (patch)
tree7ae6acaa6ee6c272e95e0c257d3c7e922968a0a0 /wscript
parent6be4a34047af74c984dc644b4157da0b45c6dd83 (diff)
downloadserd-2bf875e89f98c64164f563a8d1fae2851d9c023c.tar.gz
serd-2bf875e89f98c64164f563a8d1fae2851d9c023c.tar.bz2
serd-2bf875e89f98c64164f563a8d1fae2851d9c023c.zip
Refuse to write relative URI references to NTriples
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index c9ebcb23..4e13096a 100644
--- a/wscript
+++ b/wscript
@@ -588,7 +588,7 @@ def test(tst):
check([serdi, '%s/serd.ttl' % srcdir], stdout=os.devnull)
check([serdi, '-v'])
check([serdi, '-h'])
- check([serdi, '-s', '<foo> a <#Thingie> .'])
+ check([serdi, '-s', '<urn:eg:s> a <urn:eg:T> .'])
check([serdi, os.devnull])
with tempfile.TemporaryFile(mode='r') as stdin:
check([serdi, '-'], stdin=stdin)
@@ -609,6 +609,7 @@ def test(tst):
check([serdi, '-q', '%s/test/bad/bad-base.ttl' % srcdir], stderr=None)
check([serdi, '-r'])
check([serdi, '-z'])
+ check([serdi, '-s', '<foo> a <Bar> .'])
with tst.group('IoErrors', expected=1) as check:
check([serdi, '-e', 'file://%s/' % srcdir], name='Read directory')