Skip to content

Commit

Permalink
make service test more resilient
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Jul 29, 2023
1 parent f4fda2f commit b38938e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/service/test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
test = builtins.toFile "service-test" ''
cd ./root
nix flake update
output=$(nix run .#cmd.test)
if [[ $output != 'received' ]]
then
fail "invalid output of service command:\n$output"
fi
check_match 'nix run .#cmd.test' 'received' 'invalid output of service command'
'';
}

0 comments on commit b38938e

Please sign in to comment.