4 TESTDIR
=$(readlink -f $(dirname $0))
7 configarchitecture
'i386'
9 insertpackage
'unstable' 'cool' 'all' '1.0-1'
11 getcodenamefromsuite
() {
12 if [ "$SUITE" = 'unstable' ]; then
18 getreleaseversionfromsuite
() {
19 if [ "$SUITE" = 'unstable' ]; then
29 msgtest
"Test that target-release is accepted" $1
30 aptget dist
-upgrade -t $1 -qq && msgpass
|| msgfail
34 msgtest
"Test that target-release is refused" $1
35 aptget dist
-upgrade -t $1 -qq 2> /dev
/null
&& msgfail
|| msgpass