set -u . "$TESTSDIR"/test.inc mkdir -p conf cat > conf/options < conf/distributions < importindex < importindex < importindex < importindex < foo_0_abacus.deb cat > importindex < pool/dog/f/foo/foo_1.dsc echo "tar-content" > pool/dog/f/foo/foo_1.tar.gz cat > importindex < references.normal grep '^s=' results | sed -e 's/^s=\(.\)=[^ ]* /\1 contains /' > references.snapshot dodiff -u references.normal references.snapshot rm references.normal references.snapshot # Remove contents from original, to make them more look alike: for n in dists/B/Release dists/B/snapshots/now/Release dists/A/Release dists/A/snapshots/now/Release ; do ed -s $n <