aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/store-ping.sh
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 08:17:32 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 08:17:32 +0100
commitb6bb869e52bc4990aeac09aa64025e66e02b780e (patch)
treeee32eaecce0a11b251d6ec7f91bab0ce580bce45 /tests/functional/store-ping.sh
parent298db5d1cdbbd3198b8b08ae63fcea7c701cac22 (diff)
Merge pull request #9632 from cole-h/nix-daemon-testing
Use `nix daemon` in the test suite (cherry picked from commit e6e160a0758c0354ed810b0ec9846ed885adcc11) Change-Id: I537a25d3d48f609cd77b2c3a8ad68e87aebabfe8
Diffstat (limited to 'tests/functional/store-ping.sh')
-rw-r--r--tests/functional/store-ping.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/store-ping.sh b/tests/functional/store-ping.sh
index 9846c7d3d..d84247ad5 100644
--- a/tests/functional/store-ping.sh
+++ b/tests/functional/store-ping.sh
@@ -6,7 +6,7 @@ STORE_INFO_JSON=$(nix store ping --json)
echo "$STORE_INFO" | grep "Store URL: ${NIX_REMOTE}"
if [[ -v NIX_DAEMON_PACKAGE ]] && isDaemonNewer "2.7.0pre20220126"; then
- DAEMON_VERSION=$($NIX_DAEMON_PACKAGE/bin/nix-daemon --version | cut -d' ' -f3)
+ DAEMON_VERSION=$($NIX_DAEMON_PACKAGE/bin/nix daemon --version | cut -d' ' -f3)
echo "$STORE_INFO" | grep "Version: $DAEMON_VERSION"
[[ "$(echo "$STORE_INFO_JSON" | jq -r ".version")" == "$DAEMON_VERSION" ]]
fi