diff options
author | silby <silby@FreeBSD.org> | 2005-04-17 00:40:27 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2005-04-17 00:40:27 +0000 |
commit | 80d723ba1b2c97f349ab483d9e929be048577016 (patch) | |
tree | 8551d9099f3c4033b4cdfb7292c418acf911d17b /tools/regression | |
parent | 839fea181db8f168bf31c40cdc7996b8aa2a2228 (diff) | |
download | FreeBSD-src-80d723ba1b2c97f349ab483d9e929be048577016.zip FreeBSD-src-80d723ba1b2c97f349ab483d9e929be048577016.tar.gz |
Have the regression test use a path in /tmp for a mount point
instead of a directory that only exists on my machine.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/msdosfs/msdosfstest.sh | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/regression/msdosfs/msdosfstest.sh b/tools/regression/msdosfs/msdosfstest.sh index 0205c63..ba2a434 100644 --- a/tools/regression/msdosfs/msdosfstest.sh +++ b/tools/regression/msdosfs/msdosfstest.sh @@ -4,18 +4,20 @@ # files to it, unmount/remount the filesystem, and make sure all is well. # # Not very advanced, but better than nothing. +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 /mnt/thumb/ -cp -R /usr/src/bin/ /mnt/thumb/ -umount /mnt/thumb -mount_msdosfs /dev/md10a /mnt/thumb/ -diff -u -r /usr/src/bin /mnt/thumb +mount_msdosfs /dev/md10a /tmp/msdosfstest/ +cp -R /usr/src/bin/ /tmp/msdosfstest/ +umount /tmp/msdosfstest/ +mount_msdosfs /dev/md10a /tmp/msdosfstest/ +diff -u -r /usr/src/bin /tmp/msdosfstest/ if [ $? -eq 0 ]; then echo "ok 1"; else echo "not ok 1"; fi -umount /mnt/thumb +umount /tmp/msdosfstest/ mdconfig -d -u 10 +rmdir /tmp/msdosfstest/ |