archrepo2/test/instructions.act
2014-02-13 21:53:40 +08:00

59 lines
1.8 KiB
Text

base_dir: /var/cache/pacman/pkg
# wait for server to start
wait
# x86_64 packages
add: any zip-3.0-3-x86_64.pkg.tar.xz
wait
checky: x86_64/zip-3.0-3-x86_64.pkg.tar.xz
checkp: x86_64 zip=3.0-3
# 'any' package
add: x86_64 youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
wait
checky: any/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checky: i686/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checky: x86_64/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checkp: x86_64 youtube-dl=2014.01.28.1-1
checkp: i686 youtube-dl=2014.01.28.1-1
# update a package
add: any youtube-dl-2014.01.29-1-any.pkg.tar.xz
wait
checky: any/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checky: i686/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checky: x86_64/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checkp: x86_64 youtube-dl=2014.01.29-1
checkp: i686 youtube-dl=2014.01.29-1
# downgrade and remove
add: x86_64 youtube-dl-2014.01.29-1-any.pkg.tar.xz
remove: any youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
wait
checkn: any/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checkn: i686/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checkn: x86_64/youtube-dl-2014.01.28.1-1-any.pkg.tar.xz
checkp: x86_64 youtube-dl=2014.01.29-1
checkp: i686 youtube-dl=2014.01.29-1
# completely remove packages
remove: any youtube-dl-2014.01.29-1-any.pkg.tar.xz
remove: x86_64 zip-3.0-3-x86_64.pkg.tar.xz
wait
checkn: any/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checkn: i686/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checkn: x86_64/youtube-dl-2014.01.29-1-any.pkg.tar.xz
checkp: x86_64 youtube-dl=null
checkp: i686 youtube-dl=null
checkp: any youtube-dl=null
checkp: i686 zip=null
checkp: x86_64 zip=null
# add then, while adding, remove it
# look at the log carefully!
add: x86_64 linux-3.12.8-1-x86_64.pkg.tar.xz
racing-wait
remove: x86_64 linux-3.12.8-1-x86_64.pkg.tar.xz
wait
checkn: x86_64/linux-3.12.8-1-x86_64.pkg.tar.xz
checkp: x86_64 linux=null