14 hash=$(zpm-addfile $PF test.empty 2>> test.out)
15 okexit add empty file content
16 okstreq $hash e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 hash contents
18 appid=$(sqlite3 test.db 'pragma application_id')
19 okstreq $appid 1515209794 application id set
21 userv=$(sqlite3 test.db 'pragma user_version')
22 okstreq $userv 1 db version set
25 zpm-addfile $PF test.dir 2>>test.out
26 failsok fail to add directory
29 zpm-addfile $PF /dev/null 2>>test.out
30 failsok fail to device file