diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-14 11:51:40 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-14 11:51:40 +0200 |
commit | 0dc01623882a8a51416e8635e76c941fc302abec (patch) | |
tree | 3d6c3bfb65618fc38473660c1f89e6fd294bd825 /test | |
parent | efd1da06d60b7ce4192fd3ca1fad55e018b7185e (diff) | |
parent | 118192bfd764d03af4cfcfc10eb9c38e7cc98721 (diff) |
merged from the debian-sid branch
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-resolve-by-keep-new-recommends | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/test-resolve-by-keep-new-recommends b/test/integration/test-resolve-by-keep-new-recommends new file mode 100755 index 000000000..8134b76aa --- /dev/null +++ b/test/integration/test-resolve-by-keep-new-recommends @@ -0,0 +1,20 @@ +#!/bin/sh +set -e + +TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework +setupenvironment +configarchitecture "i386" + +insertinstalledpackage 'foo' 'i386' '1.0' +insertpackage 'unstable' 'foo' 'i386' '2.0' 'Recommends: bar' + +setupaptarchive + +UPGRADE_KEEP="Reading package lists... +Building dependency tree... +The following packages have been kept back: + foo +0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded." +testequal "$UPGRADE_KEEP" aptget upgrade -s + |