X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/05f64ca2e483709faa6bc69dfa79129d2d4c679e..2a440328ea19e9646a93f847dd9eff21e03ad16d:/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..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' @@ -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"