summaryrefslogtreecommitdiffstats
path: root/tests/018/errno.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/018/errno.tl')
-rw-r--r--tests/018/errno.tl8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/018/errno.tl b/tests/018/errno.tl
new file mode 100644
index 00000000..ec204b23
--- /dev/null
+++ b/tests/018/errno.tl
@@ -0,0 +1,8 @@
+(load "../common")
+
+(vtest
+ (catch
+ (open-file "/NoNeXiStEnT")
+ (error (msg)
+ (string-get-code msg)))
+ enoent)