require zpm newpackage -C $pkgid
require zpm add $pkgid foo
h=$(zpm hash foo)
-require zpm extract zpmtest-1.0-1.zpm $h foo2
+require zpm extract -f zpmtest-1.0-1.zpm $h foo2
h2=$(zpm hash foo2)
okstreq "$h" "$h2" "foo and foo2 hash match"
require zpm newpackage -f $PF -C $pkgid
require zpm add -f $PF zpmtest foo
rm -f foo2
-require zpm extract $PF $h foo2
+require zpm extract -f $PF $h foo2
h2=$(zpm hash foo2)
okstreq "$h" "$h2"