From 28a65393ca08cb1a27672305fe6e6210ee2f0a9e Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 3 Jul 2008 13:09:10 +0000 Subject: More unit fixes. --- src/test/units/is_older_than | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/test/units/is_older_than') diff --git a/src/test/units/is_older_than b/src/test/units/is_older_than index 494abbc7..e3df7805 100755 --- a/src/test/units/is_older_than +++ b/src/test/units/is_older_than @@ -2,9 +2,12 @@ # unit test for is_older_than code of baselayout (2008/06/19) # Author: Matthias Schwarzott -RCDIR=../../rc TMPDIR=tmp-"$(basename "$0")" +# Please note that we added this unit test because the function +# should really be called is_newer_than as it's what it's really testing. +# Or more perversly, returning 0 on failure and 1 and success. + # bool is_older_than(reference, files/dirs to check) # # return 0 if any of the files/dirs are newer than -- cgit v1.2.3