Date: Thu, 19 Jun 2014 22:15:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 191191] tests/mdconfig/legacy_test fails if /dev/md0 is already attached to the system Message-ID: <bug-191191-8-4uTGwP5h3i@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-191191-8@https.bugs.freebsd.org/bugzilla/> References: <bug-191191-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191191 --- Comment #1 from yaneurabeya@gmail.com --- Works now with the work I did converting the testcase from prove to ATF: % mdmfs -s 10m 0 /mnt/ % kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.088s] mdconfig_test:attach_vnode_explicit_type -> passed [0.109s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.118s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.086s] mdconfig_test:attach_vnode_sector_size -> passed [0.093s] mdconfig_test:attach_malloc -> passed [0.098s] mdconfig_test:attach_swap -> passed [0.070s] mdconfig_test:attach_with_specific_unit_number -> passed [0.067s] 8/8 passed (0 failed) Committed action 37 % umount /mnt/ % kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.083s] mdconfig_test:attach_vnode_explicit_type -> passed [0.085s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.076s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.077s] mdconfig_test:attach_vnode_sector_size -> passed [0.079s] mdconfig_test:attach_malloc -> passed [0.070s] mdconfig_test:attach_swap -> passed [0.069s] mdconfig_test:attach_with_specific_unit_number -> passed [0.064s] 8/8 passed (0 failed) Committed action 38 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# mdconfig -l md0 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# mdconfig -d -u 0 [root@freebsd-10-x64 /usr/tests/sbin/mdconfig]# kyua test mdconfig_test:attach_vnode_non_explicit_type -> passed [0.087s] mdconfig_test:attach_vnode_explicit_type -> passed [0.077s] mdconfig_test:attach_vnode_smaller_than_file -> passed [0.075s] mdconfig_test:attach_vnode_larger_than_file -> passed [0.075s] mdconfig_test:attach_vnode_sector_size -> passed [0.080s] mdconfig_test:attach_malloc -> passed [0.080s] mdconfig_test:attach_swap -> passed [0.068s] mdconfig_test:attach_with_specific_unit_number -> passed [0.080s] 8/8 passed (0 failed) Committed action 39 % mdconfig -l I removed some of the implied testcases (the querying sections mostly) because it was already covered in the other sections. The commit for this change can be found here: https://github.com/yaneurabeya/freebsd/commit/9cc8adcfad852cadb97637cdeddc462a7b7bf33b -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191191-8-4uTGwP5h3i>