diff options
Diffstat (limited to 'tests/syscalls.scm')
-rw-r--r-- | tests/syscalls.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/syscalls.scm b/tests/syscalls.scm index 161e036e19..d65ec82740 100644 --- a/tests/syscalls.scm +++ b/tests/syscalls.scm @@ -44,6 +44,9 @@ ;; Both return values have been encountered in the wild. (memv (system-error-errno args) (list EPERM ENOENT))))) +(test-assert "mount-points" + (member "/" (mount-points))) + (test-assert "swapon, ENOENT/EPERM" (catch 'system-error (lambda () |