civodul pushed a commit to branch master
in repository guix.
commit 54e515eb75491f4d32219c223d4c753afb0d2c48
Author: Ludovic Courtès <[email protected]>
Date: Thu Aug 27 10:52:11 2015 +0200
tests: Skip 'set-network-interface-address' test when running as root.
Reported by Eric Hanchrow <[email protected]>
in <http://bugs.gnu.org/21354>.
* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
returns zero.
---
tests/syscalls.scm | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/syscalls.scm b/tests/syscalls.scm
index 090e1e7..86783b9 100644
--- a/tests/syscalls.scm
+++ b/tests/syscalls.scm
@@ -197,6 +197,7 @@
(close-port sock)
addr))
+(test-skip (if (zero? (getuid)) 1 0))
(test-assert "set-network-interface-address"
(let ((sock (socket AF_INET SOCK_STREAM 0)))
(catch 'system-error