summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2023-06-09 22:38:13 +0100
committerKerin Millar <kfm@plushkava.net>2023-06-09 22:38:13 +0100
commit6c59a01b2e2454cd286cc9d701cb6648d428106e (patch)
treee17fa2ca95a9bd06464720989602ed4c18a1e426
parentRestore genfun_y at the same time as genfun_x in _eend() (diff)
downloadgentoo-functions-6c59a01b2e2454cd286cc9d701cb6648d428106e.tar.gz
gentoo-functions-6c59a01b2e2454cd286cc9d701cb6648d428106e.tar.bz2
gentoo-functions-6c59a01b2e2454cd286cc9d701cb6648d428106e.zip
test-functions: Do not silence ewarn() while testing is_older_than()
I changed my mind about this. It's probable that more diagnostic messages will be added in the future and it may then be useful to observe them in the case that the test suite fails. Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rwxr-xr-xtest-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-functions b/test-functions
index 0d7b1ab..0fd998d 100755
--- a/test-functions
+++ b/test-functions
@@ -424,7 +424,7 @@ export TZ=UTC
rc=0
test_chdir || rc=1
test_chdir_noop || rc=1
-( ewarn() { true; }; test_is_older_than ) || rc=1
+test_is_older_than || rc=1
test_get_bootparam || rc=1
test_esyslog || rc=1
test_is_identifier || rc=1