]> git.saurik.com Git - apt.git/blame - test/integration/test-apt-cli-update
pass-through stdin fd instead of content if not a terminal
[apt.git] / test / integration / test-apt-cli-update
CommitLineData
8f418981
MV
1#!/bin/sh
2set -e
3
4TESTDIR=$(readlink -f $(dirname $0))
5. $TESTDIR/framework
6
7setupenvironment
8configarchitecture "i386"
9
10insertpackage 'unstable' 'foo' 'all' '2.0'
11insertinstalledpackage 'foo' 'all' '1.0'
12
13setupaptarchive
14
15APTARCHIVE=$(readlink -f ./aptarchive)
16
17testequal "1 package can be upgraded. Run 'apt list --upgradable' to see it." apt update -q