diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-14 00:05:04 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-01-14 00:05:04 +0100 |
commit | 7a472a76d4dcbbd0eb7832c0bdcb120d32881e8b (patch) | |
tree | ae0c8e77b6b89239dea45b62918f0ba42c651f5c /tests | |
parent | 28ef6ebf914792f9e543e9778248f06e716a859d (diff) |
Add 'nix daemon' command
Diffstat (limited to 'tests')
-rw-r--r-- | tests/common.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in index 5489c0c44..e3bcab507 100644 --- a/tests/common.sh.in +++ b/tests/common.sh.in @@ -73,7 +73,7 @@ startDaemon() { # Start the daemon, wait for the socket to appear. !!! # ‘nix-daemon’ should have an option to fork into the background. rm -f $NIX_STATE_DIR/daemon-socket/socket - nix-daemon & + nix daemon & for ((i = 0; i < 30; i++)); do if [ -e $NIX_DAEMON_SOCKET_PATH ]; then break; fi sleep 1 |