]> git.scottworley.com Git - pinch/blobdiff - tests/lib/test-setup.sh
Use nix from nixpkgs (not from PATH) to avoid nixUnstable
[pinch] / tests / lib / test-setup.sh
index 66d13eb8b776c5886873f0645118163306737735..86c23a22797f3d1c3ae7a07b032dae60a98175d1 100644 (file)
@@ -1,5 +1,7 @@
 set -e
 
 set -e
 
+export BACKOFF_MAX_TIME=0
+
 export GIT_AUTHOR_NAME=automation
 export GIT_COMMITTER_NAME=automation
 export GIT_AUTHOR_EMAIL=auto@mati.on
 export GIT_AUTHOR_NAME=automation
 export GIT_COMMITTER_NAME=automation
 export GIT_AUTHOR_EMAIL=auto@mati.on
@@ -28,6 +30,7 @@ foo_setup() {
   conf="`mktemp`"
   cat > "$conf" <<EOF
 [foo]
   conf="`mktemp`"
   cat > "$conf" <<EOF
 [foo]
+type = git
 git_repo = file://$repo
 git_ref = master
 EOF
 git_repo = file://$repo
 git_ref = master
 EOF