X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/061ee5f0efa9d8e8fe4796c13af68fe282a21073..1dd20368486820efb6ef4476ad739e967174bec4:/test/integration/test-apt-extracttemplates diff --git a/test/integration/test-apt-extracttemplates b/test/integration/test-apt-extracttemplates index 276862464..8f335589e 100755 --- a/test/integration/test-apt-extracttemplates +++ b/test/integration/test-apt-extracttemplates @@ -10,7 +10,7 @@ configarchitecture 'amd64' # apt-extracttemplates needs this insertinstalledpackage 'pkg-with-template' 'amd64' '1.0' -# build a simple package that contains a config and a tempalte +# build a simple package that contains a config and a template mkdir -p DEBIAN CONFIG_STR="#!/bin/sh random shell stuff @@ -35,7 +35,7 @@ Description: Some bar var OUT='rootdir/tmp/testsuccess.output' testequal "$1" cut -f1 -d' ' $OUT if [ -n "$2" ]; then - testequal '' cut -f2 -d' ' $OUT + testequal '' cut -s -f2 -d' ' $OUT else testequal '1.0' cut -f2 -d' ' $OUT fi