commit: 26d09671f8994d7e1ac43d743f77a1f10e8d92c9
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Mon Feb 13 23:02:49 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 14 00:08:13 2023 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=26d09671
test-functions: Also test is_older_than with just one argument
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
Signed-off-by: Sam James <sam <AT> gentoo.org>
test-functions | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test-functions b/test-functions
index df838f7..2c1fa67 100755
--- a/test-functions
+++ b/test-functions
@@ -27,6 +27,10 @@ cleanup_tmpdir() {
test_is_older_than() {
set -- \
1 N/A N/A \
+ 1 newer N/A \
+ 1 newer-empty N/A \
+ 1 newer/file N/A \
+ 1 non-existent N/A \
0 newer newer \
1 newer newer-empty \
0 newer newer/file \