]> arthur.barton.de Git - bup.git/blobdiff - t/configure-sampledata
configure-sampledata: only create random paths if asked
[bup.git] / t / configure-sampledata
index 487a0f59c3576ca92c518f90ed21959827809e67..111c7c3cc76f89f23b68bed1622fe7d8c5eae0bd 100755 (executable)
@@ -49,7 +49,9 @@ case "$1" in
             cp -pP "$top"/Documentation/*.md doc/ || exit $?
             cp -pP "$top"/lib/bup/*.py lib/bup || exit $?
             mkdir path-zoo || exit $?
-            "$top"/t/make-random-paths 3000 path-zoo || exit $?
+            if test "$BUP_TEST_RANDOMIZED_SAMPLEDATA_PATHS"; then
+                "$top"/t/make-random-paths 3000 path-zoo || exit $?
+            fi
             # The "v" ensures that if "configure-sampledata
             # --revision" and/or the setup above fails somehow,
             # callers like make will be looking for a file that won't