Merge pull request #5963 from FlorianFranzen/test-flake-git

tests: skip flake search test if no git is present
This commit is contained in:
Eelco Dolstra 2022-01-24 12:45:49 +01:00 committed by GitHub
commit 5c3b6fbe00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,10 @@
source common.sh
if [[ -z $(type -p git) ]]; then
echo "Git not installed; skipping flake search tests"
exit 99
fi
clearStore
cp ./simple.nix ./simple.builder.sh ./config.nix $TEST_HOME