set -u . "$TESTSDIR"/test.inc dodo test ! -e dists mkdir conf db logs lists for tracking in true false ; do if $tracking ; then echo "this is the test variant with tracking on" else echo "this is the test variant with tracking off" fi if $tracking ; then cat >> conf/distributions <> conf/distributions < conf/pulls <toa froma>toa2 froma2>toa2 Components: c1 c2 UDebComponents: u1 u2 EOF testrun - -b . --export=changed pull a b 3<> conf/distributions < conf/pulls <results.expected < results.expected <results.expected < results.expected <results.expected < results.expected < results.expected < broken.changes testrun - -b . --delete --delete include a broken.changes 3<> broken.changes testrun - -b . --delete --delete include a broken.changes 3<results.expected < results.expected << EOF pool/all/a/ab/ab_3-1.diff.gz EOF dodiff /dev/null results || dodiff results.expected results testrun - -b . deleteunreferenced 3<> conf/distributions cat >conf/updates < results.expected < results.expected < results.expected < results.sorted cat > results.expected < results.expected <> aa)" 3< results.expected < results.sorted cat > results.expected < conf/distributions <