From 46fa260ea1d89cdb39bf4fd7ca606bd076ab900f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 23 Jul 2017 19:52:33 -0400 Subject: tests/*.sh: Add ":" to end for zero exit status --- (limited to 'tests') diff --git a/tests/copy-suite-existing.sh b/tests/copy-suite-existing.sh index 933bc8b..aaa8b9f 100755 --- a/tests/copy-suite-existing.sh +++ b/tests/copy-suite-existing.sh @@ -80,3 +80,5 @@ cat >'Packages.exp' <<-EOF EOF command_ok_ 'packages index OK' -- diff -u 'Packages.exp' "${got_packages}" + +: diff --git a/tests/copy-suite-new-version-refcnt.sh b/tests/copy-suite-new-version-refcnt.sh index 094ab6e..23abfc3 100755 --- a/tests/copy-suite-new-version-refcnt.sh +++ b/tests/copy-suite-new-version-refcnt.sh @@ -50,3 +50,5 @@ command_ok_ 'new package "foo" in pool' -- \ [ -f 'archive/pool/f/foo/foo_1.0-2_arch_plat.opk' ] command_ok_ 'new package "bar" in pool' -- \ [ -f 'archive/pool/f/foo/bar_1.0-2_arch_plat.opk' ] + +: diff --git a/tests/copy-suite.sh b/tests/copy-suite.sh index d1efe98..8630fae 100755 --- a/tests/copy-suite.sh +++ b/tests/copy-suite.sh @@ -57,3 +57,5 @@ cat >'Packages.exp' <<-EOF EOF command_ok_ 'packages index OK' -- diff -u 'Packages.exp' "${got_packages}" + +: diff --git a/tests/include-existing.sh b/tests/include-existing.sh index b99e105..28ed68b 100755 --- a/tests/include-existing.sh +++ b/tests/include-existing.sh @@ -62,3 +62,5 @@ cat >'Packages.exp' <<-EOF EOF command_ok_ 'packages index OK' -- diff -u 'Packages.exp' "${got_packages}" + +: diff --git a/tests/include-new-version-no-gc.sh b/tests/include-new-version-no-gc.sh index f671114..35669f0 100755 --- a/tests/include-new-version-no-gc.sh +++ b/tests/include-new-version-no-gc.sh @@ -47,3 +47,5 @@ command_ok_ 'new package "foo" in pool' -- \ [ -f 'archive/pool/f/foo/foo_1.0-2_arch_plat.opk' ] command_ok_ 'new package "bar" in pool' -- \ [ -f 'archive/pool/f/foo/bar_1.0-2_arch_plat.opk' ] + +: diff --git a/tests/include-new-version.sh b/tests/include-new-version.sh index 61bae01..e273da5 100755 --- a/tests/include-new-version.sh +++ b/tests/include-new-version.sh @@ -90,3 +90,5 @@ command_ok_ 'package "bar" SHA256sum OK' -- \ sed 's/ .*$//')" \ = "x$(sed -n 's/^SHA256sum: //p;' "${got_packages}" | \ sed -n '1{ p; q; }')" ] + +: diff --git a/tests/include.sh b/tests/include.sh index 055d193..d16fdb8 100755 --- a/tests/include.sh +++ b/tests/include.sh @@ -86,3 +86,5 @@ cat >'Manifest.exp' <<-EOF EOF command_ok_ 'suite manifest OK' -- \ diff -u 'Manifest.exp' 'archive/feeds/dev/trunk/Manifest' + +: diff --git a/tests/process-incoming.sh b/tests/process-incoming.sh index 837aa2e..0a3fc9e 100755 --- a/tests/process-incoming.sh +++ b/tests/process-incoming.sh @@ -105,3 +105,5 @@ command_ok_ 'package "baz" SHA256sum OK' -- \ sed 's/ .*$//')" \ = "x$(sed -n 's/^SHA256sum: //p;' "${got_packages}" | \ sed -n '2{ p; q; }')" ] + +: diff --git a/tests/remove-no-gc.sh b/tests/remove-no-gc.sh index 1c124f6..7ef4d19 100755 --- a/tests/remove-no-gc.sh +++ b/tests/remove-no-gc.sh @@ -51,3 +51,5 @@ command_ok_ 'package "bar" in pool' -- \ not [ -f 'archive/pool/f/foo/bar_1.0-1_arch_plat.opk' ] command_ok_ 'package "baz" in pool' -- \ [ -f 'archive/pool/b/baz/baz_1.0-1_arch_plat.opk' ] + +: diff --git a/tests/remove.sh b/tests/remove.sh index 4944601..3e79ec3 100755 --- a/tests/remove.sh +++ b/tests/remove.sh @@ -62,3 +62,5 @@ cat >'Packages.exp' <<-EOF EOF command_ok_ 'packages index OK' -- diff -u 'Packages.exp' "${got_packages}" + +: diff --git a/tests/version.sh b/tests/version.sh index 9b86808..612d6e8 100755 --- a/tests/version.sh +++ b/tests/version.sh @@ -30,3 +30,5 @@ case "$("${PRO_ARCHMAN}" version)" in 'pro-archman '*) result_ 'ok' -- 'version command output';; *) result_ 'not ok' -- 'version command output';; esac + +: -- cgit v0.9.1