summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-json-hooks
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-09-02 18:11:28 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-11-12 14:41:05 +0100
commitd936557579090fa7a5ce7edaebc61f55b3fa3ab8 (patch)
treed5b12dbbb090006e8774e43e336f3bf3d592ca28 /test/integration/test-apt-cli-json-hooks
parent5685e944b0e9808d6f3edc9e14000c3879818ffc (diff)
json: Add "options" array to JSON hooks
See the attached documentation. Note that defaults are missing, so using this is not particularly easy so far.
Diffstat (limited to 'test/integration/test-apt-cli-json-hooks')
-rwxr-xr-xtest/integration/test-apt-cli-json-hooks120
1 files changed, 120 insertions, 0 deletions
diff --git a/test/integration/test-apt-cli-json-hooks b/test/integration/test-apt-cli-json-hooks
index d319265bb..ee936e116 100755
--- a/test/integration/test-apt-cli-json-hooks
+++ b/test/integration/test-apt-cli-json-hooks
@@ -81,6 +81,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -113,6 +119,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -142,6 +154,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -171,6 +189,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -204,6 +228,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -239,6 +269,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -308,6 +344,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -376,6 +418,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -445,6 +493,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -517,6 +571,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -553,6 +613,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -627,6 +693,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -700,6 +772,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -774,6 +852,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -854,6 +938,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -928,6 +1018,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -1001,6 +1097,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -1075,6 +1177,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -1155,6 +1263,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}
@@ -1168,6 +1282,12 @@ HOOK: request {
"versions": [
"0.1",
"0.2"
+ ],
+ "options": [
+ {
+ "name": "APT::Architecture",
+ "value": "i386"
+ }
]
}
}