START sys/kern/realpath-unmount 2021-04-07T18:21:53Z ==== run-chroot ==== cc -O2 -pipe -MD -MP -c /usr/src/regress/sys/kern/realpath-unmount/realpath-chroot.c cc -o realpath-chroot realpath-chroot.o cc -O2 -pipe -MD -MP -c /usr/src/regress/sys/kern/realpath-unmount/realpath-chdir.c cc -o realpath-chdir realpath-chdir.o umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.052 secs (40293370 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath ./realpath-chroot /mnt/regress-realpath / umount /mnt/regress-realpath ==== run-chroot-dir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.050 secs (41223364 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo ./realpath-chroot /mnt/regress-realpath/foo / umount /mnt/regress-realpath ==== run-chroot-subdir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.050 secs (41624931 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo ./realpath-chroot /mnt/regress-realpath /foo umount /mnt/regress-realpath ==== run-chroot-dir-subdir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.051 secs (40894506 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo/bar ./realpath-chroot /mnt/regress-realpath/foo /bar umount /mnt/regress-realpath ==== run-chdir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.051 secs (40945098 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath ./realpath-chdir /mnt/regress-realpath . umount /mnt/regress-realpath ==== run-chdir-dir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.050 secs (41156311 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo ./realpath-chdir /mnt/regress-realpath/foo . umount /mnt/regress-realpath ==== run-chdir-subdir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.050 secs (41182627 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo ./realpath-chdir /mnt/regress-realpath foo umount /mnt/regress-realpath ==== run-chdir-dir-subdir ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup dd if=/dev/zero of=diskimage bs=512 count=4k 4096+0 records in 4096+0 records out 2097152 bytes transferred in 0.050 secs (41478249 bytes/sec) vnconfig vnd0 diskimage newfs vnd0c /dev/rvnd0c: 2.0MB in 4096 sectors of 512 bytes 4 cylinder groups of 0.50MB, 32 blocks, 64 inodes each super-block backups (for fsck -b #) at: 160, 1184, 2208, 3232, mkdir -p /mnt/regress-realpath mount /dev/vnd0c /mnt/regress-realpath mkdir -p /mnt/regress-realpath/foo/bar ./realpath-chdir /mnt/regress-realpath/foo bar umount /mnt/regress-realpath ==== unconfig ==== umount -f /dev/vnd0c 2>/dev/null || true rmdir /mnt/regress-realpath 2>/dev/null || true vnconfig -u vnd0 2>/dev/null || true rm -f stamp-setup PASS sys/kern/realpath-unmount Duration 0m04.06s