1145176Ssilby#!/bin/sh 2145176Ssilby# $FreeBSD: releng/11.0/tools/regression/msdosfs/msdosfstest-2.sh 145176 2005-04-17 00:56:38Z silby $ 3145176Ssilby# A really simple script to create a swap-backed msdosfs filesystem, then test to 4145176Ssilby# make sure the case conversion issue described in msdosfs_lookup.c rev 1.46 5145176Ssilby# is fixed. 6145176Ssilby 7145176Ssilbymkdir /tmp/msdosfstest/ 8145176Ssilbymdconfig -a -t swap -s 128m -u 10 9145176Ssilbybsdlabel -w md10 auto 10145176Ssilbynewfs_msdos -F 16 -b 8192 /dev/md10a 11145176Ssilbymount_msdosfs /dev/md10a /tmp/msdosfstest/ 12145176Ssilbycat /tmp/msdosfstest/foo 13145176Ssilbytouch /tmp/msdosfstest/FOO 14145176Ssilbycat /tmp/msdosfstest/foo 15145176Ssilbyif [ $? -eq 0 ]; then 16145176Ssilby echo "ok 2"; 17145176Ssilbyelse 18145176Ssilby echo "not ok 2"; 19145176Ssilbyfi 20145176Ssilbyumount /tmp/msdosfstest/ 21145176Ssilbymdconfig -d -u 10 22145176Ssilbyrmdir /tmp/msdosfstest/ 23