diff options
author | silby <silby@FreeBSD.org> | 2005-04-17 00:56:38 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2005-04-17 00:56:38 +0000 |
commit | 80df10c1f4bb44cf61c61087c36f17d9234537af (patch) | |
tree | ad8023b33851f088af1b88ac22b1ec5f253dfbdf /tools/regression | |
parent | 80d723ba1b2c97f349ab483d9e929be048577016 (diff) | |
download | FreeBSD-src-80df10c1f4bb44cf61c61087c36f17d9234537af.zip FreeBSD-src-80df10c1f4bb44cf61c61087c36f17d9234537af.tar.gz |
Add another regression test - one we don't pass right now.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/msdosfs/msdosfstest-2.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/regression/msdosfs/msdosfstest-2.sh b/tools/regression/msdosfs/msdosfstest-2.sh new file mode 100644 index 0000000..2262af8 --- /dev/null +++ b/tools/regression/msdosfs/msdosfstest-2.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# $FreeBSD$ +# A really simple script to create a swap-backed msdosfs filesystem, then test to +# make sure the case conversion issue described in msdosfs_lookup.c rev 1.46 +# is fixed. + +mkdir /tmp/msdosfstest/ +mdconfig -a -t swap -s 128m -u 10 +bsdlabel -w md10 auto +newfs_msdos -F 16 -b 8192 /dev/md10a +mount_msdosfs /dev/md10a /tmp/msdosfstest/ +cat /tmp/msdosfstest/foo +touch /tmp/msdosfstest/FOO +cat /tmp/msdosfstest/foo +if [ $? -eq 0 ]; then + echo "ok 2"; +else + echo "not ok 2"; +fi +umount /tmp/msdosfstest/ +mdconfig -d -u 10 +rmdir /tmp/msdosfstest/ |