X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e29a7a394cfd41e8bad81535e0a8c07654f34bf6..757ec4e1ef633f9867928559df82adf3d0ac7b78:/test/integration/test-bug-661537-build-profiles-support diff --git a/test/integration/test-bug-661537-build-profiles-support b/test/integration/test-bug-661537-build-profiles-support index 6c850fdf9..d24484de9 100755 --- a/test/integration/test-bug-661537-build-profiles-support +++ b/test/integration/test-bug-661537-build-profiles-support @@ -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' 'armel' @@ -24,7 +24,8 @@ insertsource 'unstable' 'spec-7' 'any' '1' 'Build-Depends: foo ' '' "$KEEP" testprofile 'spec-1' 'foo ' 'stage1' "$DROP" testprofile 'spec-1' 'foo ' 'notest' "$KEEP" testprofile 'spec-1' 'foo ' 'stage1,notest' "$DROP" +setdrop 'spec-2' testprofile 'spec-2' 'foo ' '' "$DROP" testprofile 'spec-2' 'foo ' 'stage1' "$KEEP" testprofile 'spec-2' 'foo ' 'notest' "$DROP" testprofile 'spec-2' 'foo ' 'stage1,notest' "$KEEP" +setdrop 'spec-3' testprofile 'spec-3' 'foo ' '' "$KEEP" testprofile 'spec-3' 'foo ' 'stage1' "$DROP" testprofile 'spec-3' 'foo ' 'notest' "$DROP" testprofile 'spec-3' 'foo ' 'stage1,notest' "$DROP" +setdrop 'spec-4' testprofile 'spec-4' 'foo ' '' "$DROP" testprofile 'spec-4' 'foo ' 'stage1' "$DROP" testprofile 'spec-4' 'foo ' 'notest' "$DROP" testprofile 'spec-4' 'foo ' 'stage1,notest' "$KEEP" +setdrop 'spec-5' testprofile 'spec-5' 'foo ' '' "$DROP" testprofile 'spec-5' 'foo ' 'stage1' "$DROP" testprofile 'spec-5' 'foo ' 'notest' "$KEEP" testprofile 'spec-5' 'foo ' 'stage1,notest' "$DROP" +setdrop 'spec-6' testprofile 'spec-6' 'foo ' '' "$DROP" testprofile 'spec-6' 'foo ' 'stage1' "$KEEP" testprofile 'spec-6' 'foo ' 'notest' "$DROP" testprofile 'spec-6' 'foo ' 'stage1,notest' "$DROP" +setdrop 'spec-7' testprofile 'spec-7' 'foo ' '' "$KEEP" testprofile 'spec-7' 'foo ' 'stage1' "$KEEP" testprofile 'spec-7' 'foo ' 'notest' "$DROP"