==== mount ====
umount -f /dev/$(<vnd)c 2>/dev/null || true
/bin/sh: vnd: No such file or directory
rmdir /mnt/regress-fileops-ext2 2>/dev/null || true
vnconfig -u $(<vnd) 2>/dev/null || true
/bin/sh: vnd: No such file or directory
rm -f stamp-setup
dd if=/dev/urandom of=diskimage bs=1M count=64
64+0 records in
64+0 records out
67108864 bytes transferred in 0.916 secs (73213229 bytes/sec)
vnconfig diskimage >vnd
newfs_ext2fs -I /dev/r$(<vnd)c
/dev/rvnd0c: 64.0MB (131072 sectors) block size 1024, fragment size 1024
	using 8 block groups of 8.0MB, 8192 blks, 2048 inodes.
super-block backups (for fsck_ext2fs -b #) at:
 8193, 16385, 24577, 32769, 40961, 49153, 57345,
mkdir -p /mnt/regress-fileops-ext2
mount_ext2fs /dev/$(<vnd)c /mnt/regress-fileops-ext2

==== run-create ====
make -C /home/src/regress/sys/fileops/ext2/.. fileops
cc -O2 -pipe  -std=gnu99 -Wall -Werror -Wextra -g  -MD -MP  -c /home/src/regress/sys/fileops/fileops.c
cc   -o fileops fileops.o 
cd /mnt/regress-fileops-ext2 &&  /home/src/regress/sys/fileops/ext2/obj/../fileops create /mnt/regress-fileops-ext2/file
pass

==== run-read ====
cd /mnt/regress-fileops-ext2 &&  /home/src/regress/sys/fileops/ext2/obj/../fileops read /mnt/regress-fileops-ext2/file
pass

==== run-mmap ====
cd /mnt/regress-fileops-ext2 &&  /home/src/regress/sys/fileops/ext2/obj/../fileops mmap /mnt/regress-fileops-ext2/file
pass

==== run-many_files_root ====
perl /home/src/regress/sys/fileops/ext2/../fileops2.pl many_files_root /mnt/regress-fileops-ext2

==== run-many_files_subdir ====
perl /home/src/regress/sys/fileops/ext2/../fileops2.pl many_files_subdir /mnt/regress-fileops-ext2

==== run-file_write ====
perl /home/src/regress/sys/fileops/ext2/../fileops2.pl file_write /mnt/regress-fileops-ext2

==== umount ====
umount -f /mnt/regress-fileops-ext2 || true

==== unconfig ====
umount -f /dev/$(<vnd)c 2>/dev/null || true
rmdir /mnt/regress-fileops-ext2 2>/dev/null || true
vnconfig -u $(<vnd) 2>/dev/null || true
rm -f stamp-setup

==== remove-diskimage ====
rm -f diskimage