7 fn=$(echo $$ $(date) | zpm hash -)
10 res=$(zpm-stat -f '%t' "$1")
11 okstreq "$res" "$2" "$1 is a $2"
15 res=$(zpm-stat -l -f '%t' "$1")
16 okstreq "$res" "$2" "$1 is a $2"
25 typetest $file directory
26 ltypetest $file directory
31 typetest $file regular
32 ltypetest $file regular
35 require ln -s $file $file.symlink
36 typetest $file.symlink regular
37 ltypetest $file.symlink symlink
38 require rm $file.symlink
46 # block and char specials probably require root to create
47 typetest /dev/null character