summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch')
-rw-r--r--meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch b/meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
new file mode 100644
index 0000000000..9524adf7b8
--- /dev/null
+++ b/meta/recipes-extended/parted/files/0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
@@ -0,0 +1,66 @@
1From 9f844484cedb39e301b016e9da7852c1a0fb6eea Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Wed, 11 Dec 2019 16:27:48 +0100
4Subject: [PATCH] tests: use skip_ rather than skip_test_ (which is undefined)
5
6Upstream-Status: Pending
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 tests/t6001-psep.sh | 2 +-
10 tests/t6004-dm-many-partitions.sh | 2 +-
11 tests/t6005-dm-uuid.sh | 2 +-
12 tests/t6006-dm-512b-sectors.sh | 2 +-
13 4 files changed, 4 insertions(+), 4 deletions(-)
14
15diff --git a/tests/t6001-psep.sh b/tests/t6001-psep.sh
16index e350bd2..67014a0 100644
17--- a/tests/t6001-psep.sh
18+++ b/tests/t6001-psep.sh
19@@ -21,7 +21,7 @@
20 require_root_
21 require_udevadm_settle_
22
23-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
24+(dmsetup --help) > /dev/null 2>&1 || skip_ "No dmsetup installed"
25
26 # Device maps names - should be random to not conflict with existing ones on
27 # the system
28diff --git a/tests/t6004-dm-many-partitions.sh b/tests/t6004-dm-many-partitions.sh
29index b4be975..7214f60 100755
30--- a/tests/t6004-dm-many-partitions.sh
31+++ b/tests/t6004-dm-many-partitions.sh
32@@ -21,7 +21,7 @@
33
34 require_root_
35 require_udevadm_settle_
36-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
37+(dmsetup --help) > /dev/null 2>&1 || skip_ "No dmsetup installed"
38
39 ss=$sector_size_
40 ns=300
41diff --git a/tests/t6005-dm-uuid.sh b/tests/t6005-dm-uuid.sh
42index 4266747..4790a8b 100755
43--- a/tests/t6005-dm-uuid.sh
44+++ b/tests/t6005-dm-uuid.sh
45@@ -21,7 +21,7 @@
46
47 require_root_
48 require_udevadm_settle_
49-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
50+(dmsetup --help) > /dev/null 2>&1 || skip_ "No dmsetup installed"
51
52 ss=$sector_size_
53 ns=300
54diff --git a/tests/t6006-dm-512b-sectors.sh b/tests/t6006-dm-512b-sectors.sh
55index bf32135..b679adb 100644
56--- a/tests/t6006-dm-512b-sectors.sh
57+++ b/tests/t6006-dm-512b-sectors.sh
58@@ -25,7 +25,7 @@ require_scsi_debug_module_
59 grep '^#define USE_BLKID 1' "$CONFIG_HEADER" > /dev/null ||
60 skip_ 'this system lacks a new-enough libblkid'
61
62-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
63+(dmsetup --help) > /dev/null 2>&1 || skip_ "No dmsetup installed"
64
65 # Device maps names - should be random to not conflict with existing ones on
66 # the system