rm -f foo
-zpm-extract $PF $hash test.foo2
+zpm-extract -f $PF $hash test.foo2
okexit extract foo file content
sha=$(zpm-hash test.foo2)
okstreq $hash $sha extracted hash matches
-sha=$(zpm-extract $PF $hash - | zpm-hash)
+sha=$(zpm-extract -f $PF $hash - | zpm-hash)
okstreq $hash $sha stdout extract hash matches
finish