Skip to content

Commit 2c1bdf5

Browse files
committed
transitory commit: tests fixes
1 parent 23a2234 commit 2c1bdf5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/facts/apt.AptKeys/keys.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"command": "for f in /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d/*.gpg /etc/apt/trusted.gpg.d/*.asc /etc/apt/keyrings/*.gpg /etc/apt/keyrings/*.asc /usr/share/keyrings/*.gpg /usr/share/keyrings/*.asc ; do [ -e \"$f\" ] || continue; case \"$f\" in *.asc) gpg --batch --show-keys --with-colons --keyid-format LONG \"$f\" ;; *) gpg --batch --no-default-keyring --keyring \"$f\" --list-keys --with-colons --keyid-format LONG ;; esac; done",
3+
"requires_command": "gpg",
34
"output": [
45
"tru:t:1:1601454628:0:3:1:5",
56
"pub:-:4096:1:3B4FE6ACC0B21F32:1336770936:::-:::scSC::::::23::0:",

tests/operations/apt.key/add_keyserver_multiple_partial.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@
1616
"path=/etc/apt/keyrings/keyserver-abc-def.gpg": null
1717
}
1818
},
19-
"commands": []
19+
"commands": [],
20+
"noop_description": "Keys abc, def are already available in the apt keychain"
2021
}

0 commit comments

Comments
 (0)