]> arthur.barton.de Git - bup.git/blobdiff - t/configure-sampledata
configure: test for functional readline more carefully
[bup.git] / t / configure-sampledata
index e23a3082abd8a13508026b180b6b05dd30722311..111c7c3cc76f89f23b68bed1622fe7d8c5eae0bd 100755 (executable)
@@ -5,8 +5,7 @@ set -o pipefail
 # NOTE: any relevant changes to var/ must be accompanied by an
 # increment to the revision.
 
-revision=1
-readonly revision
+revision=3
 
 top="$(pwd)" || exit $?
 
@@ -44,10 +43,15 @@ case "$1" in
             ln -sf a b || exit $?
             ln -sf b c || exit $?
             ln -sf "$(pwd)/abs-symlink-target" abs-symlink || exit $?
+            mkfifo fifo
             mkdir -p cmd doc lib/bup || exit $?
             cp -pP "$top"/cmd/*.py cmd/ || exit $?
             cp -pP "$top"/Documentation/*.md doc/ || exit $?
             cp -pP "$top"/lib/bup/*.py lib/bup || exit $?
+            mkdir 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