aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/syscalls.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 51846d3c36..161e036e19 100644
--- a/tests/syscalls.scm
+++ b/tests/syscalls.scm
@@ -52,13 +52,13 @@
(lambda args
(memv (system-error-errno args) (list EPERM ENOENT)))))
-(test-assert "swapoff, EINVAL/EPERM"
+(test-assert "swapoff, ENOENT/EINVAL/EPERM"
(catch 'system-error
(lambda ()
(swapoff "/does-not-exist")
#f)
(lambda args
- (memv (system-error-errno args) (list EPERM EINVAL)))))
+ (memv (system-error-errno args) (list EPERM EINVAL ENOENT)))))
(test-assert "all-network-interfaces"
(match (all-network-interfaces)