summary refs log tree commit diff
path: root/test-env.in
diff options
context:
space:
mode:
Diffstat (limited to 'test-env.in')
-rw-r--r--test-env.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-env.in b/test-env.in
index 799a62276f..c3f60f7283 100644
--- a/test-env.in
+++ b/test-env.in
@@ -31,6 +31,10 @@ unset CDPATH
 
 if [ -x "@abs_top_builddir@/guix-daemon" ]
 then
+    # Silence the daemon's output, which is often useless, as well as that of
+    # Bash (such as "Terminated" messages when 'guix-daemon' is killed.)
+    exec 2> /dev/null
+
     NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
 
     # Do that because store.scm calls `canonicalize-path' on it.