summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/libimobiledevice/libplist
diff options
context:
space:
mode:
authorAnkur Tyagi <ankur.tyagi85@gmail.com>2025-11-20 18:46:46 +1300
committerKhem Raj <raj.khem@gmail.com>2025-11-19 22:00:55 -0800
commit92bbf4473345fd0d5dece4bcfcb3074c127cb9df (patch)
tree80485bd32b1e715f021958983d2ed6722159714b /meta-oe/recipes-extended/libimobiledevice/libplist
parent0e583d2830ff8a8340b7bd0050ced614fbb91e3f (diff)
downloadmeta-openembedded-92bbf4473345fd0d5dece4bcfcb3074c127cb9df.tar.gz
libplist: fix ptest error
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libimobiledevice/libplist')
-rw-r--r--meta-oe/recipes-extended/libimobiledevice/libplist/0001-test-fix-operator-error.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/libimobiledevice/libplist/0001-test-fix-operator-error.patch b/meta-oe/recipes-extended/libimobiledevice/libplist/0001-test-fix-operator-error.patch
new file mode 100644
index 0000000000..0866851537
--- /dev/null
+++ b/meta-oe/recipes-extended/libimobiledevice/libplist/0001-test-fix-operator-error.patch
@@ -0,0 +1,68 @@
1From 18e5b22a71f85091127cc063db79c8df687c582c Mon Sep 17 00:00:00 2001
2From: Ankur Tyagi <ankur.tyagi85@gmail.com>
3Date: Thu, 20 Nov 2025 16:01:58 +1300
4Subject: [PATCH] test: fix operator error
5
6Otherwise test fail with error [: -neq: binary operator expected
7
8Upstream-Status: Submitted [https://github.com/libimobiledevice/libplist/pull/284]
9Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
10---
11 test/json-invalid-types.test | 6 +++---
12 test/ostep-invalid-types.test | 6 +++---
13 2 files changed, 6 insertions(+), 6 deletions(-)
14
15diff --git a/test/json-invalid-types.test b/test/json-invalid-types.test
16index c532316..a21fcd9 100755
17--- a/test/json-invalid-types.test
18+++ b/test/json-invalid-types.test
19@@ -14,19 +14,19 @@ export PLIST_JSON_DEBUG=1
20
21 echo "Converting (failure expected)"
22 $top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE0 -o /dev/null
23-if [ $? -neq 2 ]; then
24+if [ $? -ne 2 ]; then
25 exit 1
26 fi
27
28 echo "Converting (failure expected)"
29 $top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE1 -o /dev/null
30-if [ $? -neq 2 ]; then
31+if [ $? -ne 2 ]; then
32 exit 2
33 fi
34
35 echo "Converting (failure expected)"
36 $top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE2 -o /dev/null
37-if [ $? -neq 2 ]; then
38+if [ $? -ne 2 ]; then
39 exit 3
40 fi
41
42diff --git a/test/ostep-invalid-types.test b/test/ostep-invalid-types.test
43index 9222394..240505c 100755
44--- a/test/ostep-invalid-types.test
45+++ b/test/ostep-invalid-types.test
46@@ -14,19 +14,19 @@ export PLIST_OSTEP_DEBUG=1
47
48 echo "Converting (failure expected)"
49 $top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE0 -o /dev/null
50-if [ $? -neq 2 ]; then
51+if [ $? -ne 2 ]; then
52 exit 1
53 fi
54
55 echo "Converting (failure expected)"
56 $top_builddir/tools/plistutil -f openstepn -i $DATASRC/$TESTFILE1 -o /dev/null
57-if [ $? -neq 2 ]; then
58+if [ $? -ne 2 ]; then
59 exit 2
60 fi
61
62 echo "Converting (failure expected)"
63 $top_builddir/tools/plistutil -f openstep -i $DATASRC/$TESTFILE2 -o /dev/null
64-if [ $? -neq 2 ]; then
65+if [ $? -ne 2 ]; then
66 exit 3
67 fi
68