File: cmds.txt

package info (click to toggle)
fdroidcl 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,828 kB
  • sloc: makefile: 3
file content (52 lines) | stat: -rw-r--r-- 1,037 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
env HOME=$WORK/home

! fdroidcl
stderr '^usage: fdroidcl \[-h'

# TODO: reenable with ?
# ! fdroidcl -h
# stderr '^usage: fdroidcl \[-h'
# ! stderr 'test\.' # don't include flags from testing
# ! stderr 'command not specified'
# ! stdout .

fdroidcl version
stdout '^v0\.8'

! fdroidcl -badflag -- somepkg
stderr '-badflag'
stderr '^usage: fdroidcl \[-h'

! fdroidcl search -h
stderr '^usage: fdroidcl search .*regexp'
stderr '^Search available apps.'
stderr '-i.*Filter installed apps'

! fdroidcl install -h
stderr 'When given no arguments'

! fdroidcl

! fdroidcl install -u some.app
stderr 'without arguments'

! fdroidcl install -e com.fsck.k9,org.videolan.vlc
stderr '-e can only be used for upgrading'

! fdroidcl clean a b
stderr 'wrong amount of arguments'

! fdroidcl clean a
stderr 'pass either index or cache as parameter, or no parameter at all'

fdroidcl clean index
stdout 'Cleaned index\.'
! stderr .

fdroidcl clean cache
stdout 'Cleaned cache\.'
! stderr .

fdroidcl clean
stdout 'Cleaned index and cache\.'
! stderr .