11 cd tmp || bailout "can not cd to tmp"
12 require rm -f $PF test.empty
13 require touch test.empty
15 zpm test test.empty 2>/dev/null
16 failsok zpm-test of empty file
19 okexit zpm-init new file
21 tryrun zpm newpackage -f $PF basics-1.0-1
22 pkgid=$(zpm list -f $PF)
23 okstreq "$pkgid" "basics-1.0-1" "have basics 1.0"
25 require zpm pkg -f $PF basics version=2.0
26 pkgid=$(zpm list -f $PF)
27 okstreq "$pkgid" "basics-2.0-1" "have basics 2.0"