]> git.pld-linux.org Git - packages/parted.git/blob - 0100-Add-udf-to-t1700-probe-fs-and-to-the-manpage.patch
- more FC patches, fixes build on recent systems
[packages/parted.git] / 0100-Add-udf-to-t1700-probe-fs-and-to-the-manpage.patch
1 From 749b42f25534bec8625e74a6c1c61c3ad6cc8b17 Mon Sep 17 00:00:00 2001
2 From: "Brian C. Lane" <bcl@redhat.com>
3 Date: Tue, 16 Oct 2018 13:37:09 -0700
4 Subject: [PATCH 100/103] Add udf to t1700-probe-fs and to the manpage
5
6 If mkfs.udf is installed this will test to make sure that the filesystem
7 is detected.
8 ---
9  doc/C/parted.8          | 2 +-
10  tests/t1700-probe-fs.sh | 2 +-
11  2 files changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/doc/C/parted.8 b/doc/C/parted.8
14 index eb7cd98..fecdc29 100644
15 --- a/doc/C/parted.8
16 +++ b/doc/C/parted.8
17 @@ -78,7 +78,7 @@ Create a new partition. \fIpart-type\fP may be specified only with msdos and
18  dvh partition tables, it should be one of "primary", "logical", or "extended".
19  \fIname\fP is required for GPT partition tables and \fIfs-type\fP is optional.
20  \fIfs-type\fP can be one of "btrfs", "ext2", "ext3", "ext4", "fat16", "fat32",
21 -"hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", or "xfs".
22 +"hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", "udf", or "xfs".
23  .TP
24  .B name \fIpartition\fP \fIname\fP
25  Set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac,
26 diff --git a/tests/t1700-probe-fs.sh b/tests/t1700-probe-fs.sh
27 index b13cec0..853d6bc 100755
28 --- a/tests/t1700-probe-fs.sh
29 +++ b/tests/t1700-probe-fs.sh
30 @@ -23,7 +23,7 @@ dev=loop-file
31  ss=$sector_size_
32  n_sectors=$((512*1024))
33  
34 -for type in ext2 ext3 ext4 btrfs xfs nilfs2 ntfs vfat hfsplus; do
35 +for type in ext2 ext3 ext4 btrfs xfs nilfs2 ntfs vfat hfsplus udf; do
36  
37    ( mkfs.$type 2>&1 | grep -i '^usage' ) > /dev/null \
38        || { warn_ "$ME: no $type support"; continue; }
39 -- 
40 2.17.2
41
This page took 0.051416 seconds and 3 git commands to generate.