]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-732746-preferences
ce73f1c17dd176c082669bbbff12b0d6265efdf5
4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'i386'
9 insertinstalledpackage
'bar' 'i386' '1.0'
11 cat > rootdir
/etc
/apt
/preferences
<< EOF
12 # random test comment header
14 # commented out by puppy^Wpuppet
16 #Pin: origin "ftp.debian.org"
28 testsuccessequal
"Reading package lists...
29 Building dependency tree..." aptget check
31 msgtest
"Ensure policy is applied"
32 aptcache policy bar
|grep -q "*** 1.0 700" && msgpass
|| msgfail