Debian Codegraph @

tests/data/pk-spawn-test.sh

raw
1 #!/usr/bin/env bash
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.5
10
11 echo -e "percentage\t0"
12 echo -e "percentage\t10"
13 sleep ${time}
14 echo -e "percentage\t20"
15 sleep ${time}
16 echo -e "percentage\t30"
17 sleep ${time}
18 echo -e "percentage\t40"
19 sleep ${time}
20 echo -e "package\tavailable\tpolkit;0.0.1;i386;data\tPolicyKit daemon"
21 echo -e "package\tinstalled\tpolkit-gnome;0.0.1;i386;data\tPolicyKit helper (•) for GNOME"
22 sleep ${time}
23 printf "package\tavailable\tConsoleKit"
24 sleep ${time}
25 echo -e "\tSystem console checker"
26 echo -e "percentage\t50"
27 sleep ${time}
28 echo -e "percentage\t60"
29 sleep ${time}
30 echo -e "percentage\t70"
31 sleep ${time}
32 echo -e "percentage\t80"
33 sleep ${time}
34 echo -e "percentage\t90"
35 echo -e "package\tinstalled\tgnome-power-manager;0.0.1;i386;data\tMore useless software"
36 sleep ${time}
37 echo -e "percentage\t100"