- msgtest "Test that target-release is accepted" $1
- aptget dist-upgrade -t $1 -qq && msgpass || msgfail
+ msgtest 'Test that target-release is accepted' $1
+ testsuccess --nomsg aptget dist-upgrade -t $1
+ msgtest 'Test that target-release pins with' $1
+ aptcache policy -t $1 | grep -q ' 990' && msgpass || msgfail