Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142737520
D10096.id26694.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10096.id26694.diff
View Options
Index: head/usr.sbin/makefs/tests/makefs_cd9660_tests.sh
===================================================================
--- head/usr.sbin/makefs/tests/makefs_cd9660_tests.sh
+++ head/usr.sbin/makefs/tests/makefs_cd9660_tests.sh
@@ -61,6 +61,11 @@
atf_check -e empty -o empty -s exit:0 test -f $TEST_MOUNT_DIR/c
}
+check_cd9660_support() {
+ kldstat -m cd9660 || \
+ atf_skip "Requires cd9660 filesystem support to be present in the kernel"
+}
+
atf_test_case D_flag cleanup
D_flag_body()
{
@@ -91,6 +96,8 @@
atf_test_case F_flag cleanup
F_flag_body()
{
+ check_cd9660_support
+
create_test_inputs
atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
@@ -110,6 +117,8 @@
atf_test_case from_mtree_spec_file cleanup
from_mtree_spec_file_body()
{
+ check_cd9660_support
+
create_test_inputs
atf_check -e empty -o save:$TEST_SPEC_FILE -s exit:0 \
@@ -130,6 +139,8 @@
atf_test_case from_multiple_dirs cleanup
from_multiple_dirs_body()
{
+ check_cd9660_support
+
test_inputs_dir2=$TMPDIR/inputs2
create_test_inputs
@@ -152,6 +163,8 @@
atf_test_case from_single_dir cleanup
from_single_dir_body()
{
+ check_cd9660_support
+
create_test_inputs
atf_check -e empty -o empty -s exit:0 \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 10:21 PM (11 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27888968
Default Alt Text
D10096.id26694.diff (1 KB)
Attached To
Mode
D10096: usr.sbin.makefs.makefs_cd9660_tests.F_flag fails on a kernel missing 'device cd'
Attached
Detach File
Event Timeline
Log In to Comment