tests: skip flake search test if no git is present

This commit is contained in:
Florian Franzen 2022-01-22 20:01:54 +01:00
parent 5f08db69d1
commit 12578ba672

View file

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