diff options
author | Florian Franzen <Florian.Franzen@gmail.com> | 2022-01-22 20:01:54 +0100 |
---|---|---|
committer | Florian Franzen <Florian.Franzen@gmail.com> | 2022-01-22 20:13:16 +0100 |
commit | 12578ba672c3a341190b462892e49c9661a68035 (patch) | |
tree | e8fdb551a0923fda64a806839ca8ab55666866c1 /tests/flake-searching.sh | |
parent | 5f08db69d18ea5b868cbb58993822e7dd0307518 (diff) |
tests: skip flake search test if no git is present
Diffstat (limited to 'tests/flake-searching.sh')
-rw-r--r-- | tests/flake-searching.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/flake-searching.sh b/tests/flake-searching.sh index 6558aff9a..bc55f2bdc 100644 --- a/tests/flake-searching.sh +++ b/tests/flake-searching.sh @@ -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 |