forked from lix-project/lix
Merge pull request #5963 from FlorianFranzen/test-flake-git
tests: skip flake search test if no git is present
This commit is contained in:
commit
5c3b6fbe00
|
@ -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