diff options
Diffstat (limited to 'meta/recipes-extended/bash/bash/fix-run-intl.patch')
-rw-r--r-- | meta/recipes-extended/bash/bash/fix-run-intl.patch | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/meta/recipes-extended/bash/bash/fix-run-intl.patch b/meta/recipes-extended/bash/bash/fix-run-intl.patch deleted file mode 100644 index d4a3409ec6..0000000000 --- a/meta/recipes-extended/bash/bash/fix-run-intl.patch +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | From a00d3161fd7b6a698bdd2ed5f0ac5faac580ee2a Mon Sep 17 00:00:00 2001 | ||
2 | From: Dengke Du <dengke.du@windriver.com> | ||
3 | Date: Wed, 3 Aug 2016 23:13:00 -0400 | ||
4 | Subject: [PATCH] fix run-intl failed | ||
5 | |||
6 | 1. Filter extra white space of intl.right | ||
7 | |||
8 | Due to the extra white space of intl.right, when the result of | ||
9 | sub-test unicode2.sub of intl.tests compared to it, the test | ||
10 | failed. | ||
11 | |||
12 | So we need to filter the extra white space of intl.right. | ||
13 | |||
14 | Import this patch for intl.right from bash devel branch: | ||
15 | |||
16 | http://git.savannah.gnu.org/cgit/bash.git/log/?h=devel | ||
17 | |||
18 | commit is: | ||
19 | |||
20 | 85ec0778f9d778e1820fb8c0e3e996f2d1103b45 | ||
21 | |||
22 | 2. Change intl.right correspond to the unicode3.sub's output | ||
23 | |||
24 | In sub-test unicode3.sub of intl.tests, the payload value is: | ||
25 | |||
26 | payload=$'\065\247\100\063\231\053\306\123\070\237\242\352\263' | ||
27 | |||
28 | It used quoted string expansion(escaped octal) to assign ASCII | ||
29 | characters to variables. So when the test run the following: | ||
30 | |||
31 | printf %q "$payload" | ||
32 | |||
33 | It produced: | ||
34 | |||
35 | $'5\247@3\231+\306S8\237\242\352\263' | ||
36 | |||
37 | When compared to the intl.right(contain the converted character), it failed. | ||
38 | |||
39 | Import parts of patch for intl.right from bash devel branch: | ||
40 | |||
41 | http://git.savannah.gnu.org/cgit/bash.git/log/?h=devel | ||
42 | |||
43 | commit is: | ||
44 | |||
45 | 74b8cbb41398b4453d8ba04d0cdd1b25f9dcb9e3 | ||
46 | |||
47 | Upstream-Status: Backport | ||
48 | |||
49 | Signed-off-by: Dengke Du <dengke.du@windriver.com> | ||
50 | --- | ||
51 | tests/intl.right | 30 +++++++++++++++--------------- | ||
52 | 1 file changed, 15 insertions(+), 15 deletions(-) | ||
53 | |||
54 | diff --git a/tests/intl.right b/tests/intl.right | ||
55 | index acf108a..1efdfbe 100644 | ||
56 | --- a/tests/intl.right | ||
57 | +++ b/tests/intl.right | ||
58 | @@ -18,34 +18,34 @@ aéb | ||
59 | 1.0000 | ||
60 | 1,0000 | ||
61 | Passed all 1378 Unicode tests | ||
62 | -0000000 303 277 012 | ||
63 | +0000000 303 277 012 | ||
64 | 0000003 | ||
65 | -0000000 303 277 012 | ||
66 | +0000000 303 277 012 | ||
67 | 0000003 | ||
68 | -0000000 303 277 012 | ||
69 | +0000000 303 277 012 | ||
70 | 0000003 | ||
71 | -0000000 303 277 012 | ||
72 | +0000000 303 277 012 | ||
73 | 0000003 | ||
74 | -0000000 357 277 277 012 | ||
75 | +0000000 357 277 277 012 | ||
76 | 0000004 | ||
77 | -0000000 357 277 277 012 | ||
78 | +0000000 357 277 277 012 | ||
79 | 0000004 | ||
80 | -0000000 012 | ||
81 | +0000000 012 | ||
82 | 0000001 | ||
83 | -0000000 012 | ||
84 | +0000000 012 | ||
85 | 0000001 | ||
86 | -0000000 012 | ||
87 | +0000000 012 | ||
88 | 0000001 | ||
89 | -0000000 012 | ||
90 | +0000000 012 | ||
91 | 0000001 | ||
92 | -0000000 303 277 012 | ||
93 | +0000000 303 277 012 | ||
94 | 0000003 | ||
95 | -0000000 303 277 012 | ||
96 | +0000000 303 277 012 | ||
97 | 0000003 | ||
98 | -0000000 303 277 012 | ||
99 | +0000000 303 277 012 | ||
100 | 0000003 | ||
101 | -0000000 101 040 302 243 040 305 222 012 | ||
102 | +0000000 101 040 302 243 040 305 222 012 | ||
103 | 0000010 | ||
104 | ./unicode3.sub: line 2: 5§@3™+ÆS8Ÿ¢ê³: command not found | ||
105 | -5§@3™+ÆS8Ÿ¢ê³ | ||
106 | +$'5\247@3\231+\306S8\237\242\352\263' | ||
107 | + : $'5\247@3\231+\306S8\237\242\352\263' | ||
108 | -- | ||
109 | 2.8.1 | ||
110 | |||