mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
tests: skip flake search test if no git is present
This commit is contained in:
parent
5f08db69d1
commit
12578ba672
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue