Debian Codegraph @

tests/data/pk-spawn-test-profiling.sh

raw
1 #!/bin/sh
2 # Copyright (C) 2007 Richard Hughes <[email protected]>
3 # Licensed under the GNU General Public License Version 2
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8
9 time=0.01
10
11 for i in `seq 1 100`
12 do
13 echo -e "percentage\t$i"
14 echo -e "package\tavailable\tpolkit;0.0.1;i386;data\tPolicyKit daemon"
15 echo -e "package\tinstalled\tpolkit-gnome;0.0.1;i386;data\tPolicyKit helper for GNOME"
16 sleep ${time}
17 done
18