aboutsummaryrefslogtreecommitdiff
path: root/tests/fstype.test
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-03-02 15:20:04 -0600
committerRob Landley <rob@landley.net>2016-03-02 15:20:04 -0600
commit336c44adca1768ada1e1e2f4d7dbbc33e994e582 (patch)
tree9780ee9602ffbca6b04e472d3ac0d158f92ac49c /tests/fstype.test
parenteb830728b12152702c3852d079ad5c8a7f6e709b (diff)
downloadtoybox-336c44adca1768ada1e1e2f4d7dbbc33e994e582.tar.gz
Factor out command name at the start of test name, have runtest.sh print it.
Diffstat (limited to 'tests/fstype.test')
-rwxr-xr-xtests/fstype.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fstype.test b/tests/fstype.test
index cf0987ad..cc7a6206 100755
--- a/tests/fstype.test
+++ b/tests/fstype.test
@@ -7,16 +7,16 @@
BDIR="$TOPDIR/tests/blkid"
bzcat "$BDIR"/squashfs.bz2 > temp.img
-testing "fstype file" "fstype temp.img" 'squashfs\n' "" ""
+testing "file" "fstype temp.img" 'squashfs\n' "" ""
rm temp.img
for i in cramfs ext2 ext3 ext4 f2fs ntfs squashfs vfat xfs
do
- testing "fstype $i" 'bzcat "$BDIR"/$i.bz2 | fstype -' "$i\n" "" ""
+ testing "$i" 'bzcat "$BDIR"/$i.bz2 | fstype -' "$i\n" "" ""
done
-testing "fstype msdos" 'bzcat "$BDIR"/msdos.bz2 | fstype -' 'vfat\n' "" ""
-testing "fstype reiserfs" 'bzcat "$BDIR"/reiser3.bz2 | fstype -' 'reiserfs\n' "" ""
+testing "msdos" 'bzcat "$BDIR"/msdos.bz2 | fstype -' 'vfat\n' "" ""
+testing "reiserfs" 'bzcat "$BDIR"/reiser3.bz2 | fstype -' 'reiserfs\n' "" ""
#testing "blkid minix" 'bzcat "$BDIR"/minix.bz2 | blkid -'
#adfs bfs btrfs cramfs jfs nilfs romfs