mirror of https://github.com/mvdan/fdroidcl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.0 KiB
52 lines
1.0 KiB
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\.6' |
|
|
|
! 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 .
|
|
|