| 1 |
#!/bin/sh |
| 2 |
set -exu |
| 3 |
|
| 4 |
# we have to export PYTHONHASHSEED because otherwise networkx will create |
| 5 |
# content with random output order |
| 6 |
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749710 |
| 7 |
# https://github.com/networkx/networkx/issues/1181 |
| 8 |
export PYTHONHASHSEED=0 |
| 9 |
# to make the sort order in the tests locale independent |
| 10 |
export LC_COLLATE=C.UTF-8 |
| 11 |
export LC_ALL=C.UTF-8 |
| 12 |
# because dose2html outputs utf8 on standard output |
| 13 |
export PYTHONIOENCODING=utf-8 |
| 14 |
|
| 15 |
rm -rf $AUTOPKGTEST_TMP/out $AUTOPKGTEST_TMP/tmp |
| 16 |
mkdir -p $AUTOPKGTEST_TMP/out |
| 17 |
cp tests/cross-ma.diff $AUTOPKGTEST_TMP/out/ma.diff |
| 18 |
|
| 19 |
botch-cross --debug --verbose --output=$AUTOPKGTEST_TMP/out --tmp=$AUTOPKGTEST_TMP/tmp --deb-drop-b-d-indep --optgraph amd64 armhf tests/sid-amd64-packages-20160830T000000Z tests/sid-sources-20160830T000000Z |
| 20 |
|
| 21 |
debian/tests/diff_tmp_out cross |