From 27b847702c9291efde6e971c659f325e63b201df Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 22 Dec 2016 16:24:19 +0100 Subject: reproducible netbsd: add code to aid debugging #842250 Signed-off-by: Holger Levsen --- bin/reproducible_netbsd.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh index c0ced11e..e3b07b13 100755 --- a/bin/reproducible_netbsd.sh +++ b/bin/reproducible_netbsd.sh @@ -158,6 +158,14 @@ for i in * ; do let GOOD_FILES+=1 rm -f $BASE/netbsd/dbd/$i/$j.html # cleanup from previous (unreproducible) tests - if needed fi + # for debugging #842250 + if [ "$(basename $TMPDIR/b1/$i/$j)" = "base.tgz" ] ; then + for k in b1 b2 ; do + mkdir -p $BASE/netbsd/artifacts/$k/$i + cp $TMPDIR/$k/$i/$j $BASE/netbsd/artifacts/$k/$i/$j + done + echo "artifacts published for debugging #842250 in https://tests.reproducible-builds.org/netbsd/artifacts/ - please dont forget to delete this directory later…" + fi done cd .. if [ -s $GOOD_FILES_HTML ] ; then -- cgit v1.2.3-54-g00ecf