Check directory existence again when failing to create it to avoid erroring out on race condition

This commit is contained in:
Gilbert Chen
2017-06-20 14:38:09 -04:00
parent 169d6db544
commit 651d82e511
4 changed files with 27 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
. ./test_functions.sh
fixture
pushd ${TEST_REPO}
${DUPLICACY} init integration-tests $TEST_STORAGE -c 1k
add_file file3
add_file file4
${DUPLICACY} backup -threads 16
${DUPLICACY} check --files -stats
popd