diff options
author | Mark H Weaver <mhw@netris.org> | 2018-04-21 04:57:29 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2018-04-21 05:02:52 -0400 |
commit | c52872bfc418c6b2273f973dff8003ca9e062792 (patch) | |
tree | 4184a250e6d8363b3901aa2abe6910ff08ce08d4 /tests | |
parent | 65bb22796f854cbc3eae053a80b1d64365dad376 (diff) | |
parent | 3fe49e50153fec1dabac35e262a0888044f79aa6 (diff) | |
download | gnu-guix-c52872bfc418c6b2273f973dff8003ca9e062792.tar gnu-guix-c52872bfc418c6b2273f973dff8003ca9e062792.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-daemon.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/guix-daemon.sh b/tests/guix-daemon.sh index 6f91eb58bf..9ae6e0b77a 100644 --- a/tests/guix-daemon.sh +++ b/tests/guix-daemon.sh @@ -194,6 +194,20 @@ do kill "$daemon_pid" done +# Make sure garbage collection from a TCP connection does not work. + +tcp_socket="127.0.0.1:9999" +guix-daemon --listen="$tcp_socket" & +daemon_pid=$! + +GUIX_DAEMON_SOCKET="guix://$tcp_socket" +export GUIX_DAEMON_SOCKET + +if guix gc; then false; else true; fi + +unset GUIX_DAEMON_SOCKET +kill "$daemon_pid" + # Log compression. guix-daemon --listen="$socket" --disable-chroot --debug --log-compression=gzip & |