3 [ -f testing.sh ] && . testing.sh
5 #testing "name" "command" "result" "infile" "stdin"
9 bzcat "$BDIR"/squashfs.bz2 > temp.img
10 testing "file" "fstype temp.img" 'squashfs\n' "" ""
13 for i in cramfs ext2 ext3 ext4 f2fs ntfs squashfs vfat xfs
15 testing "$i" 'bzcat "$BDIR"/$i.bz2 | fstype -' "$i\n" "" ""
18 testing "msdos" 'bzcat "$BDIR"/msdos.bz2 | fstype -' 'vfat\n' "" ""
19 testing "reiserfs" 'bzcat "$BDIR"/reiser3.bz2 | fstype -' 'reiserfs\n' "" ""
21 #testing "blkid minix" 'bzcat "$BDIR"/minix.bz2 | blkid -'
22 #adfs bfs btrfs cramfs jfs nilfs romfs
23 #vfat // fat32 fat12 fat16