|
|
|
|
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 .
|