]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-cli-update
   4 TESTDIR
=$(readlink -f $(dirname $0)) 
   8 configarchitecture 
"i386" 
  10 insertpackage 
'unstable' 'foo' 'all' '2.0' 
  11 cp rootdir
/var
/lib
/dpkg
/status dpkg.status
 
  12 insertinstalledpackage 
'foo' 'all' '1.0' 
  14 setupaptarchive 
--no-update 
  16 testfailuremsg 
'E: The update command takes no arguments' apt update arguments
 
  18 testsuccessequal 
"1 package can be upgraded. Run 'apt list --upgradable' to see it." apt update 
-qq 
  20 cp dpkg.status rootdir
/var
/lib
/dpkg
/status
 
  21 insertinstalledpackage 
'foo' 'all' '2.0' 
  22 testsuccessequal 
'All packages are up to date.' apt update 
-qq