From 5685e944b0e9808d6f3edc9e14000c3879818ffc Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 11 Nov 2024 13:16:01 +0100 Subject: test: Prettify JSON tests using jq This also ensures that our JSON is actually correct JSON. echo may fail now with EPIPE, given that it is multiline, so wrap it in 2>/dev/null --- debian/tests/control | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/tests/control') diff --git a/debian/tests/control b/debian/tests/control index d2b2e32c6..aa2aa0462 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -7,5 +7,6 @@ Restrictions: allow-stderr Depends: @, @builddeps@, dpkg (>= 1.20.8), fakeroot, wget, stunnel4, lsof, db-util, gnupg (>= 2) | gnupg2, gnupg1 | gnupg (<< 2), gpgv (>= 2) | gpgv2, gpgv1 | gpgv (<< 2), + jq, libfile-fcntllock-perl, python3-apt, aptitude, valgrind, gdb-minimal | gdb -- cgit v1.2.3-70-g09d2