X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/21248c0f00ee71412dbadc6ebf84011cf974346d..5da51e0e2da3f055306562d38103b06a23d81719:/test/integration/test-bug-661537-build-profiles-support?ds=sidebyside diff --git a/test/integration/test-bug-661537-build-profiles-support b/test/integration/test-bug-661537-build-profiles-support index 7e7a74b03..91115ea18 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' @@ -25,6 +25,7 @@ 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"