Explorar el Código

test: Fix invalid quoting in variable expansion

This breaks the tests with FreeBSD's shell, and is not needed -
it works fine without it.

Gbp-Dch: ignore
Julian Andres Klode hace 10 años
padre
commit
34f0d758a4
Se han modificado 1 ficheros con 6 adiciones y 6 borrados
  1. 6 6
      test/integration/framework

+ 6 - 6
test/integration/framework

@@ -653,10 +653,10 @@ _setupsimplenativepackage() {
 	local VERSION="$3"
 	local VERSION="$3"
 	local RELEASE="${4:-unstable}"
 	local RELEASE="${4:-unstable}"
 	local DEPENDENCIES="$5"
 	local DEPENDENCIES="$5"
-	local DESCRIPTION="${6:-"an autogenerated dummy ${NAME}=${VERSION}/${RELEASE}
+	local DESCRIPTION="${6:-an autogenerated dummy ${NAME}=${VERSION}/${RELEASE}
  If you find such a package installed on your system,
  If you find such a package installed on your system,
  something went horribly wrong! They are autogenerated
  something went horribly wrong! They are autogenerated
- und used only by testcases and serve no other purpose…"}"
+ und used only by testcases and serve no other purpose…}"
 
 
 	local SECTION="${7:-others}"
 	local SECTION="${7:-others}"
 	local PRIORITY="${8:-optional}"
 	local PRIORITY="${8:-optional}"
@@ -883,10 +883,10 @@ insertpackage() {
 	local VERSION="$4"
 	local VERSION="$4"
 	local DEPENDENCIES="$5"
 	local DEPENDENCIES="$5"
 	local PRIORITY="${6:-optional}"
 	local PRIORITY="${6:-optional}"
-	local DESCRIPTION="${7:-"an autogenerated dummy ${NAME}=${VERSION}/${RELEASES}
+	local DESCRIPTION="${7:-an autogenerated dummy ${NAME}=${VERSION}/${RELEASES}
  If you find such a package installed on your system,
  If you find such a package installed on your system,
  something went horribly wrong! They are autogenerated
  something went horribly wrong! They are autogenerated
- und used only by testcases and serve no other purpose…"}"
+ und used only by testcases and serve no other purpose…}"
 	local ARCHS=""
 	local ARCHS=""
 	for RELEASE in $(printf '%s' "$RELEASES" | tr ',' '\n'); do
 	for RELEASE in $(printf '%s' "$RELEASES" | tr ',' '\n'); do
 		if [ "$RELEASE" = 'installed' ]; then
 		if [ "$RELEASE" = 'installed' ]; then
@@ -964,10 +964,10 @@ insertinstalledpackage() {
 	local DEPENDENCIES="$4"
 	local DEPENDENCIES="$4"
 	local PRIORITY="${5:-optional}"
 	local PRIORITY="${5:-optional}"
 	local STATUS="${6:-install ok installed}"
 	local STATUS="${6:-install ok installed}"
-	local DESCRIPTION="${7:-"an autogenerated dummy ${NAME}=${VERSION}/installed
+	local DESCRIPTION="${7:-an autogenerated dummy ${NAME}=${VERSION}/installed
  If you find such a package installed on your system,
  If you find such a package installed on your system,
  something went horribly wrong! They are autogenerated
  something went horribly wrong! They are autogenerated
- und used only by testcases and serve no other purpose…"}"
+ und used only by testcases and serve no other purpose…}"
 
 
 	local FILE='rootdir/var/lib/dpkg/status'
 	local FILE='rootdir/var/lib/dpkg/status'
 	local INFO='rootdir/var/lib/dpkg/info'
 	local INFO='rootdir/var/lib/dpkg/info'