[libFuzzer] ensure that the dfsan tracing hooks actually run (using -verbosity=3...
[oota-llvm.git] / lib / Fuzzer / pull_and_push_fuzz_corpus.sh
index 6c67cf0e0c642113a81c0656d32be2e852323dc3..05c322c6e5bfeb3bc890ea16745b9e727b63bdad 100755 (executable)
@@ -8,10 +8,10 @@
 cd $1
 git add *
 git commit -m "fuzz test corpus"
-git pull --no-edit
-for((attempt=0; attempt<100; attempt++)); do
+git pull --rebase --no-edit
+for((attempt=0; attempt<5; attempt++)); do
   echo GIT PUSH $1 ATTEMPT $attempt
   if $(git push); then break; fi
-  git pull --no-edit
+  git pull --rebase --no-edit
 done