Browse Source

tests: support spaces in path and TMPDIR

This doesn't allow all tests to run cleanly, but it at least allows to
write tests which could run successfully in such environments.

Git-Dch: Ignore
tags/debian/1.1.6
David Kalnischkies 5 years ago
parent
commit
3abb6a6a1e
100 changed files with 220 additions and 241 deletions
  1. +2
    -2
      test/integration/create-test-data
  2. +12
    -14
      test/integration/framework
  3. +2
    -2
      test/integration/header-compilation
  4. +2
    -1
      test/integration/run-tests
  5. +2
    -2
      test/integration/skip-avoid-avoiding-breaks-predepends
  6. +2
    -2
      test/integration/skip-bug-601016-description-translation
  7. +2
    -2
      test/integration/skip-bug-711456-apt-cdrom-multiple-cds-multiarch
  8. +2
    -2
      test/integration/test-00-commands-have-help
  9. +2
    -2
      test/integration/test-acquire-binary-all
  10. +1
    -1
      test/integration/test-acquire-same-file-multiple-times
  11. +4
    -4
      test/integration/test-acquire-same-repository-multiple-times
  12. +1
    -1
      test/integration/test-allow
  13. +2
    -2
      test/integration/test-allow-scores-for-all-dependency-types
  14. +2
    -2
      test/integration/test-apt-acquire-additional-files
  15. +2
    -2
      test/integration/test-apt-acquire-additional-files-duplicates
  16. +2
    -2
      test/integration/test-apt-by-hash-update
  17. +2
    -2
      test/integration/test-apt-cache
  18. +2
    -2
      test/integration/test-apt-cache-showsrc
  19. +2
    -2
      test/integration/test-apt-cdrom
  20. +2
    -2
      test/integration/test-apt-cli-list
  21. +3
    -9
      test/integration/test-apt-cli-search
  22. +2
    -2
      test/integration/test-apt-cli-show
  23. +2
    -2
      test/integration/test-apt-cli-update
  24. +3
    -10
      test/integration/test-apt-cli-upgrade
  25. +2
    -2
      test/integration/test-apt-config
  26. +2
    -2
      test/integration/test-apt-download-progress
  27. +2
    -2
      test/integration/test-apt-extracttemplates
  28. +2
    -2
      test/integration/test-apt-ftparchive-by-hash
  29. +2
    -2
      test/integration/test-apt-ftparchive-cachedb
  30. +4
    -4
      test/integration/test-apt-ftparchive-cachedb-lp1274466
  31. +2
    -2
      test/integration/test-apt-ftparchive-src-cachedb
  32. +2
    -2
      test/integration/test-apt-get-autoremove
  33. +2
    -2
      test/integration/test-apt-get-build-dep
  34. +2
    -2
      test/integration/test-apt-get-changelog
  35. +2
    -2
      test/integration/test-apt-get-clean
  36. +2
    -2
      test/integration/test-apt-get-download
  37. +2
    -2
      test/integration/test-apt-get-install-deb
  38. +2
    -2
      test/integration/test-apt-get-install-virtual-pkgs
  39. +2
    -2
      test/integration/test-apt-get-source
  40. +2
    -2
      test/integration/test-apt-get-source-arch
  41. +2
    -2
      test/integration/test-apt-get-source-authenticated
  42. +2
    -2
      test/integration/test-apt-get-source-multisources
  43. +2
    -2
      test/integration/test-apt-get-update-unauth-warning
  44. +2
    -2
      test/integration/test-apt-get-upgrade
  45. +2
    -2
      test/integration/test-apt-helper
  46. +2
    -2
      test/integration/test-apt-https-no-redirect
  47. +2
    -2
      test/integration/test-apt-key
  48. +2
    -2
      test/integration/test-apt-key-net-update
  49. +2
    -2
      test/integration/test-apt-mark
  50. +2
    -2
      test/integration/test-apt-move-and-forget-manual-sections
  51. +2
    -2
      test/integration/test-apt-never-markauto-sections
  52. +2
    -2
      test/integration/test-apt-progress-fd
  53. +0
    -2
      test/integration/test-apt-progress-fd-conffile
  54. +2
    -2
      test/integration/test-apt-progress-fd-deb822
  55. +2
    -2
      test/integration/test-apt-progress-fd-error
  56. +2
    -2
      test/integration/test-apt-showlist-orgroup-in-recommends
  57. +2
    -2
      test/integration/test-apt-sources-deb822
  58. +6
    -6
      test/integration/test-apt-tagfile-fields-order
  59. +2
    -8
      test/integration/test-apt-translation-has-no-packages
  60. +2
    -2
      test/integration/test-apt-update-expected-size
  61. +2
    -2
      test/integration/test-apt-update-file
  62. +2
    -2
      test/integration/test-apt-update-filesize-mismatch
  63. +2
    -2
      test/integration/test-apt-update-hashsum-mismatch
  64. +2
    -2
      test/integration/test-apt-update-ims
  65. +2
    -2
      test/integration/test-apt-update-nofallback
  66. +2
    -2
      test/integration/test-apt-update-not-modified
  67. +2
    -2
      test/integration/test-apt-update-rollback
  68. +2
    -2
      test/integration/test-apt-update-simple
  69. +2
    -2
      test/integration/test-apt-update-stale
  70. +2
    -2
      test/integration/test-apt-update-transactions
  71. +2
    -2
      test/integration/test-apt-update-unauth
  72. +2
    -2
      test/integration/test-architecture-specification-parsing
  73. +2
    -2
      test/integration/test-authentication-basic
  74. +2
    -2
      test/integration/test-bug-254770-segfault-if-cache-not-buildable
  75. +4
    -4
      test/integration/test-bug-330162-encoded-tar-header
  76. +2
    -2
      test/integration/test-bug-407511-fail-invalid-default-release
  77. +2
    -2
      test/integration/test-bug-470115-new-and-tighten-recommends
  78. +2
    -2
      test/integration/test-bug-507998-dist-upgrade-recommends
  79. +2
    -2
      test/integration/test-bug-543966-downgrade-below-1000-pin
  80. +2
    -2
      test/integration/test-bug-549968-install-depends-of-not-installed
  81. +2
    -1
      test/integration/test-bug-590041-prefer-non-virtual-packages
  82. +4
    -4
      test/integration/test-bug-590438-broken-provides-thanks-to-remove-order
  83. +2
    -2
      test/integration/test-bug-591882-conkeror
  84. +2
    -2
      test/integration/test-bug-593360-modifiers-in-names
  85. +2
    -2
      test/integration/test-bug-595691-empty-and-broken-archive-files
  86. +2
    -2
      test/integration/test-bug-596498-trusted-unsigned-repo
  87. +2
    -2
      test/integration/test-bug-598669-install-postfix-gets-exim-heavy
  88. +2
    -2
      test/integration/test-bug-601961-install-info
  89. +2
    -2
      test/integration/test-bug-602412-dequote-redirect
  90. +2
    -2
      test/integration/test-bug-604222-new-and-autoremove
  91. +2
    -2
      test/integration/test-bug-604401-files-are-directories
  92. +2
    -2
      test/integration/test-bug-605394-versioned-or-groups
  93. +2
    -2
      test/integration/test-bug-611729-mark-as-manual
  94. +2
    -2
      test/integration/test-bug-612099-multiarch-conflicts
  95. +2
    -2
      test/integration/test-bug-612557-garbage-upgrade
  96. +2
    -2
      test/integration/test-bug-612958-use-dpkg-multiarch-config
  97. +2
    -2
      test/integration/test-bug-613420-new-garbage-dependency
  98. +2
    -2
      test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted
  99. +2
    -2
      test/integration/test-bug-618288-multiarch-same-lockstep
  100. +2
    -2
      test/integration/test-bug-618848-always-respect-user-requests

+ 2
- 2
test/integration/create-test-data View File

@@ -6,8 +6,8 @@ if [ -z "$1" -o -z "$2" ]; then
exit 1
fi

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
BUILDDIRECTORY="${TESTDIR}/../../build/bin"

GENERATE=$1


+ 12
- 14
test/integration/framework View File

@@ -169,11 +169,11 @@ runapt() {
msgdebug "Executing: ${CCMD}$*${CDEBUG} "
local CMD="$1"
shift
case $CMD in
case "$CMD" in
sh|aptitude|*/*|command) ;;
*) CMD="${BUILDDIRECTORY}/$CMD";;
esac
MALLOC_PERTURB_=21 MALLOC_CHECK_=2 APT_CONFIG="$(getaptconfig)" LD_LIBRARY_PATH=${LIBRARYPATH} $CMD "$@"
MALLOC_PERTURB_=21 MALLOC_CHECK_=2 APT_CONFIG="$(getaptconfig)" LD_LIBRARY_PATH=${LIBRARYPATH} "$CMD" "$@"
}
aptconfig() { runapt apt-config "$@"; }
aptcache() { runapt apt-cache "$@"; }
@@ -307,10 +307,8 @@ setupenvironment() {
if [ -f "${TESTDIRECTORY}/${SOURCESSFILE}" ]; then
cp "${TESTDIRECTORY}/${SOURCESSFILE}" aptarchive/Sources
fi
for key in $(find "$TESTDIRECTORY" -name '*.pub' -o -name '*.sec'); do
cp "$key" keys/
chmod 644 "$key"
done
find "$TESTDIRECTORY" \( -name '*.pub' -o -name '*.sec' \) -exec cp '{}' keys/ \;
chmod 644 keys/*
ln -s "${TMPWORKINGDIRECTORY}/keys/joesixpack.pub" rootdir/etc/apt/trusted.gpg.d/joesixpack.gpg

echo "Dir \"${TMPWORKINGDIRECTORY}/rootdir\";" > aptconfig.conf
@@ -330,11 +328,11 @@ setupenvironment() {
cat > "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/dpkg" <<EOF
#!/bin/sh
set -e
if [ -r "${TMPWORKINGDIRECTORY}/noopchroot.so" ]; then
if [ -r '${TMPWORKINGDIRECTORY}/noopchroot.so' ]; then
if [ -n "\$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="${TMPWORKINGDIRECTORY}:${LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH='${TMPWORKINGDIRECTORY}:'"\${LD_LIBRARY_PATH}"
else
export LD_LIBRARY_PATH="${TMPWORKINGDIRECTORY}"
export LD_LIBRARY_PATH='${TMPWORKINGDIRECTORY}'
fi
if [ -n "\$LD_PRELOAD" ]; then
export LD_PRELOAD="noopchroot.so \${LD_PRELOAD}"
@@ -345,13 +343,13 @@ fi
EOF
cp "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/dpkg" "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/gdb-dpkg"
cat >> "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/dpkg" <<EOF
exec fakeroot "${DPKG:-dpkg}" --root="${TMPWORKINGDIRECTORY}/rootdir" \\
--log="${TMPWORKINGDIRECTORY}/rootdir/var/log/dpkg.log" \\
exec fakeroot '${DPKG:-dpkg}' --root='${TMPWORKINGDIRECTORY}/rootdir' \\
--log='${TMPWORKINGDIRECTORY}/rootdir/var/log/dpkg.log' \\
--force-not-root --force-bad-path "\$@"
EOF
cat >> "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/gdb-dpkg" <<EOF
exec fakeroot gdb --quiet -ex run "${DPKG:-dpkg}" --args "${DPKG:-dpkg}" --root="${TMPWORKINGDIRECTORY}/rootdir" \\
--log="${TMPWORKINGDIRECTORY}/rootdir/var/log/dpkg.log" \\
exec fakeroot gdb --quiet -ex run '${DPKG:-dpkg}' --args '${DPKG:-dpkg}' --root='${TMPWORKINGDIRECTORY}/rootdir' \\
--log='${TMPWORKINGDIRECTORY}/rootdir/var/log/dpkg.log' \\
--force-not-root --force-bad-path "\$@"
EOF
chmod +x "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/dpkg" "${TMPWORKINGDIRECTORY}/rootdir/usr/bin/gdb-dpkg"
@@ -1186,7 +1184,7 @@ changetowebserver() {
cd aptarchive
local LOG="webserver.log"
if ! aptwebserver --port 0 -o aptwebserver::fork=1 -o aptwebserver::portfile='aptwebserver.port' "$@" >$LOG 2>&1 ; then
cat $LOG
cat "$LOG"
false
fi
waitforpidfile aptwebserver.pid


+ 2
- 2
test/integration/header-compilation View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment

(for i in $TESTDIR/../../build/include/apt-pkg/*.h; do echo "#include \"$i\""; done) > include.h


+ 2
- 1
test/integration/run-tests View File

@@ -83,7 +83,8 @@ PASS=0
ALL=0
FAILED_TESTS=""
DIR="$(readlink -f "$(dirname "$0")")"
TESTLIST="$(find "$DIR" -mindepth 1 -maxdepth 1 -regex '^.*/test-[^/]*$' | sort)"
cd "$DIR"
TESTLIST="$(find . -mindepth 1 -maxdepth 1 -regex '^\./test-[^/]*$' | sort)"
if [ -n "$APT_TEST_JOBS" ]; then
if [ "$MSGCOLOR" != 'NO' ]; then
export MSGCOLOR='ALWAYS'


+ 2
- 2
test/integration/skip-avoid-avoiding-breaks-predepends View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'native'



+ 2
- 2
test/integration/skip-bug-601016-description-translation View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386' 'amd64'



+ 2
- 2
test/integration/skip-bug-711456-apt-cdrom-multiple-cds-multiarch View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-00-commands-have-help View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-acquire-binary-all View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 1
- 1
test/integration/test-acquire-same-file-multiple-times View File

@@ -1,7 +1,7 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'


+ 4
- 4
test/integration/test-acquire-same-repository-multiple-times View File

@@ -1,13 +1,13 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'

TESTFILE="$TESTDIR/framework"
cp $TESTFILE aptarchive/foo
cp "$TESTFILE" aptarchive/foo
APTARCHIVE="$(readlink -f ./aptarchive)"

getcodenamefromsuite() { echo "jessie"; }
@@ -37,7 +37,7 @@ while read line; do
if [ -z "\$line" ]; then
sleep 0.5
fi
done | "$OLDMETHODS/\${0##*/}"
done | '$OLDMETHODS/'"\${0##*/}"
EOF
chmod +x "${NEWMETHODS}/file"
ln -s "${NEWMETHODS}/file" "${NEWMETHODS}/http"


+ 1
- 1
test/integration/test-allow View File

@@ -5,7 +5,7 @@
set -e

TESTDIR="$(readlink -f "$(dirname $0)")"
. $TESTDIR/framework
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-allow-scores-for-all-dependency-types View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-apt-acquire-additional-files View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-apt-acquire-additional-files-duplicates View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-apt-by-hash-update View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-apt-cache View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64' 'i386'


+ 2
- 2
test/integration/test-apt-cache-showsrc View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-cdrom View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-apt-cli-list View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 3
- 9
test/integration/test-apt-cli-search View File

@@ -1,18 +1,12 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"

if [ ! -x ${BUILDDIRECTORY}/apt ]; then
msgmsg "No ${BUILDDIRECTORY}/apt"
msgskip
exit 0
fi

DESCR='Some description that has a unusual word xxyyzz and aabbcc and a UPPERCASE'
DESCR2='Some other description with the unusual aabbcc only'
insertpackage 'unstable' 'foo' 'all' '1.0' '' '' "$DESCR
@@ -23,7 +17,7 @@ insertpackage 'testing' 'bar' 'i386' '2.0' '' '' "$DESCR2"

setupaptarchive

APTARCHIVE=$(readlink -f ./aptarchive)
APTARCHIVE="$(readlink -f ./aptarchive)"

testfailureequal 'E: You must give at least one search pattern' aptcache search
testfailureequal 'E: You must give at least one search pattern' apt search


+ 2
- 2
test/integration/test-apt-cli-show View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386' 'amd64'


+ 2
- 2
test/integration/test-apt-cli-update View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 3
- 10
test/integration/test-apt-cli-upgrade View File

@@ -1,26 +1,19 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"

if [ ! -x ${BUILDDIRECTORY}/apt ]; then
msgmsg "No ${BUILDDIRECTORY}/apt"
msgskip
exit 0
fi


insertpackage 'unstable' 'foo' 'all' '2.0' 'Depends: foo-new-dependency'
insertpackage 'unstable' 'foo-new-dependency' 'all' '2.0'
insertinstalledpackage 'foo' 'all' '1.0'

setupaptarchive

APTARCHIVE=$(readlink -f ./aptarchive)
APTARCHIVE="$(readlink -f ./aptarchive)"

# default is to allow new dependencies
testsuccessequal "The following NEW packages will be installed:


+ 2
- 2
test/integration/test-apt-config View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-apt-download-progress View File

@@ -4,8 +4,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
changetohttpswebserver


+ 2
- 2
test/integration/test-apt-extracttemplates View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-apt-ftparchive-by-hash View File

@@ -13,8 +13,8 @@ verify_by_hash() {
#
# main()
#
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'
configcompression 'gz' '.'


+ 2
- 2
test/integration/test-apt-ftparchive-cachedb View File

@@ -22,8 +22,8 @@ usr/share/doc/foo/copyright others/foo"
#
# main()
#
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 4
- 4
test/integration/test-apt-ftparchive-cachedb-lp1274466 View File

@@ -5,15 +5,15 @@ set -e
#
# main()
#
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
confighashes 'MD5' 'SHA1' 'SHA256' 'SHA512'

# gather the db and the deb, ensure mtime is not modfied as its saved in the DB
cp -p $TESTDIR/deb-lp1274466-cachedb.deb foo_1_i386.deb
cp -p $TESTDIR/cachedb-lp1274466-old-format.db old-format.db
cp -p "$TESTDIR/deb-lp1274466-cachedb.deb" foo_1_i386.deb
cp -p "$TESTDIR/cachedb-lp1274466-old-format.db" old-format.db

# verify that the format is different
testsuccess aptftparchive --db new-format.db packages .


+ 2
- 2
test/integration/test-apt-ftparchive-src-cachedb View File

@@ -89,8 +89,8 @@ create_clearsigned_source_files() {
#
# main()
#
TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
confighashes 'MD5' 'SHA1' 'SHA256' 'SHA512'


+ 2
- 2
test/integration/test-apt-get-autoremove View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-apt-get-build-dep View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-apt-get-changelog View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'native'


+ 2
- 2
test/integration/test-apt-get-clean View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-apt-get-download View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-get-install-deb View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64' 'i386'


+ 2
- 2
test/integration/test-apt-get-install-virtual-pkgs View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-apt-get-source View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-get-source-arch View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386" "amd64"


+ 2
- 2
test/integration/test-apt-get-source-authenticated View File

@@ -6,8 +6,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-get-source-multisources View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'armhf'


+ 2
- 2
test/integration/test-apt-get-update-unauth-warning View File

@@ -4,8 +4,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-get-upgrade View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-helper View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-apt-https-no-redirect View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-key View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64'


+ 2
- 2
test/integration/test-apt-key-net-update View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-mark View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-apt-move-and-forget-manual-sections View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'native'



+ 2
- 2
test/integration/test-apt-never-markauto-sections View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-apt-progress-fd View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64' 'i386'


+ 0
- 2
test/integration/test-apt-progress-fd-conffile View File

@@ -34,8 +34,6 @@ echo 'meep' >> rootdir/etc/compiz.conf/compiz.conf

# FIXME: Is there really no way to see if dpkg actually prompts?
msgtest 'Test for successful execution of' 'apt-get install compiz-core=2.0'
OUTPUT="$(mktemp)"
addtrap "rm \"$OUTPUT\";"
exec 3> apt-progress.log
testsuccess --nomsg aptget install compiz-core=2.0 -o APT::Status-Fd=3 -o Dpkg::Use-Pty=false -o dpkg::options::='--force-confold'



+ 2
- 2
test/integration/test-apt-progress-fd-deb822 View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64' 'i386'


+ 2
- 2
test/integration/test-apt-progress-fd-error View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'native'


+ 2
- 2
test/integration/test-apt-showlist-orgroup-in-recommends View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-apt-sources-deb822 View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 6
- 6
test/integration/test-apt-tagfile-fields-order View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment

dpkg_field_ordered_list() {
@@ -31,7 +31,7 @@ comparelsts() {

msgtest 'Check that apt knows all fields dpkg orders in' 'Packages'
dpkg_field_ordered_list 'CTRL_INDEX_PKG' > dpkg.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' ${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort -u > apt.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort -u > apt.lst
comparelsts

msgtest 'Check that apt knows all fields dpkg orders in' 'status'
@@ -45,7 +45,7 @@ comparelsts
msgtest 'Check that apt knows all fields dpkg orders in' 'Sources'
dpkg_field_ordered_list 'CTRL_INDEX_SRC' > dpkg.lst
echo 'Package' > apt.tmp
sed -ne 's#^ "\(.*\)",.*$#\1#p' ${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c | sed '/^Package$/,/^Package$/ d' >> apt.tmp
sed -ne 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sed '/^Package$/,/^Package$/ d' >> apt.tmp
sort -u apt.tmp > apt.lst
comparelsts

@@ -63,7 +63,7 @@ if [ "$USER" = 'david' ]; then
msgpass
msgtest 'Check that apt knows about all fields' 'dpkg parses'
sed -n 's#^.*FIELD("\(.*\)").*$#\1#p' "${DPKGSOURCE}" | sort -u > dpkg.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' ${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort -u > apt.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sed -n '/^Package$/,/^Package$/ p' | head -n -1 | sort -u > apt.lst
comparelsts
fi

@@ -76,7 +76,7 @@ if [ "$USER" = 'david' ]; then
msgtest 'Check that apt knows about all fields' 'dak knows'
# dak mixes both, so we can only check with the mixed one as well
sed -ne "s#^.* VALUES ('\(.*\)', \(.*\)).*\$#\1 \2#p" "${DAKSOURCE}" | cut -d ' ' -f 1 | sort -u > dpkg.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' ${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c | sort -u > apt.lst
sed -ne 's#^ "\(.*\)",.*$#\1#p' "${SOURCEDIRECTORY}/apt-pkg/tagfile-order.c" | sort -u > apt.lst
comparelsts
fi
fi

+ 2
- 8
test/integration/test-apt-translation-has-no-packages View File

@@ -9,18 +9,12 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "amd64"

if [ ! -x ${BUILDDIRECTORY}/apt ]; then
msgmsg "No ${BUILDDIRECTORY}/apt"
msgskip
exit 0
fi

buildsimplenativepackage 'foo' 'all' '1.0'
setupaptarchive



+ 2
- 2
test/integration/test-apt-update-expected-size View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-update-file View File

@@ -5,8 +5,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "amd64"


+ 2
- 2
test/integration/test-apt-update-filesize-mismatch View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'
configcompression 'gz'


+ 2
- 2
test/integration/test-apt-update-hashsum-mismatch View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'
configcompression 'gz'


+ 2
- 2
test/integration/test-apt-update-ims View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-apt-update-nofallback View File

@@ -200,8 +200,8 @@ W: Some index files failed to download. They have been ignored, or old ones used
}


TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-update-not-modified View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'amd64' 'i386'


+ 2
- 2
test/integration/test-apt-update-rollback View File

@@ -169,8 +169,8 @@ test_inrelease_to_broken_gzip() {
testfileequal lists.before "$(listcurrentlistsdirectory)"
}

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-update-simple View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-apt-update-stale View File

@@ -6,8 +6,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"


+ 2
- 2
test/integration/test-apt-update-transactions View File

@@ -3,8 +3,8 @@ set -e

# ensure that an update will only succeed entirely or not at all

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-apt-update-unauth View File

@@ -5,8 +5,8 @@
#
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

umask 022



+ 2
- 2
test/integration/test-architecture-specification-parsing View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment

# we need this construct here as it isn't really possible to fake native arch for dpkg-* tools


+ 2
- 2
test/integration/test-authentication-basic View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-bug-254770-segfault-if-cache-not-buildable View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

msgtest 'Test run as' 'non-root'
if [ "$(id -u)" = '0' ]; then


+ 4
- 4
test/integration/test-bug-330162-encoded-tar-header View File

@@ -1,11 +1,11 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"

msgtest 'Test apt-ftparchive with encoded tar header package'
cp $TESTDIR/deb-bug-330162-encoded-tar-header.deb aptarchive/
test -z "$(aptftparchive packages aptarchive/ 2>&1 | grep 'E:')" && msgpass || msgfail
cp "$TESTDIR/deb-bug-330162-encoded-tar-header.deb" aptarchive/
testsuccess aptftparchive packages aptarchive/

+ 2
- 2
test/integration/test-bug-407511-fail-invalid-default-release View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-bug-470115-new-and-tighten-recommends View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-bug-507998-dist-upgrade-recommends View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-bug-543966-downgrade-below-1000-pin View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture 'i386'


+ 2
- 2
test/integration/test-bug-549968-install-depends-of-not-installed View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"



+ 2
- 1
test/integration/test-bug-590041-prefer-non-virtual-packages View File

@@ -1,7 +1,8 @@
#!/bin/sh
set -e

. $(readlink -f $(dirname $0))/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386' 'armel'



+ 4
- 4
test/integration/test-bug-590438-broken-provides-thanks-to-remove-order View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"

setupenvironment
configarchitecture "i386"
@@ -25,7 +25,7 @@ MD5sum: 8489687ce10e656babd467c9ee389349
Description-de: Verschiedene Dateien für das Basis-System von Debian"

predependsgawk() {
cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir/var/lib/dpkg/status
cp "$TESTDIR/$(echo "$(basename "$0")" | sed 's/test-/status-/')" rootdir/var/lib/dpkg/status
echo "$pkgbasefile
Pre-Depends: $1
" >> rootdir/var/lib/dpkg/status
@@ -56,7 +56,7 @@ predependsgawk "awk | aawk"
predependsgawk "awk"

predependsgawk2() {
cp $TESTDIR/$(echo "$(basename $0)" | sed 's/test-/status-/') rootdir/var/lib/dpkg/status
cp "$TESTDIR/$(echo "$(basename "$0")" | sed 's/test-/status-/')" rootdir/var/lib/dpkg/status
echo "$pkgbasefile
Pre-Depends: $1
" >> rootdir/var/lib/dpkg/status


+ 2
- 2
test/integration/test-bug-591882-conkeror View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-593360-modifiers-in-names View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-595691-empty-and-broken-archive-files View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"



+ 2
- 2
test/integration/test-bug-596498-trusted-unsigned-repo View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-bug-598669-install-postfix-gets-exim-heavy View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-601961-install-info View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-602412-dequote-redirect View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64'



+ 2
- 2
test/integration/test-bug-604222-new-and-autoremove View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-604401-files-are-directories View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-605394-versioned-or-groups View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"
setupaptarchive


+ 2
- 2
test/integration/test-bug-611729-mark-as-manual View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"



+ 2
- 2
test/integration/test-bug-612099-multiarch-conflicts View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386' 'amd64'



+ 2
- 2
test/integration/test-bug-612557-garbage-upgrade View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"



+ 2
- 2
test/integration/test-bug-612958-use-dpkg-multiarch-config View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-bug-613420-new-garbage-dependency View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture "i386"



+ 2
- 2
test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



+ 2
- 2
test/integration/test-bug-618288-multiarch-same-lockstep View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'amd64' 'i386'



+ 2
- 2
test/integration/test-bug-618848-always-respect-user-requests View File

@@ -1,8 +1,8 @@
#!/bin/sh
set -e

TESTDIR=$(readlink -f $(dirname $0))
. $TESTDIR/framework
TESTDIR="$(readlink -f "$(dirname "$0")")"
. "$TESTDIR/framework"
setupenvironment
configarchitecture 'i386'



Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save