4 TESTDIR
="$(readlink -f "$(dirname "$0")")" 
   7 configarchitecture 'amd64' 
   9 for i in $(seq 100); do 
  10   insertpackage 'unstable' "foo
-$i" 'all' '1.0' 
  11   insertsource 'unstable' "foo
-$i" 'all' '1.0' 
  14 setupaptarchive --no-update 
  17 aptget update -o Debug::Acquire::Progress=1 2>progress.log >ignore.out 
  22         percent="$(echo "$line"|cut -b2-6)" 
  23         # need to cut the decimal point and digits because sh can not do 
  25         if [ "${percent%%.*}" -lt "${prev_percent%%.*}" ]; then 
  29         prev_percent="$percent" 
  34 msgtest "Testing that progress does not go backward
" 
  35 testsuccess --nomsg has_progress