From: Baptiste Daroussin Date: Wed, 26 Oct 2022 09:38:25 +0000 (+0200) Subject: mlmmj-maintd: add test with relative path as argument X-Git-Tag: RELEASE_1_4_0a1~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40158d3fd7d36697254711f970d0e8a4facaf141;p=thirdparty%2Fmlmmj.git mlmmj-maintd: add test with relative path as argument --- diff --git a/tests/functional-tests.sh b/tests/functional-tests.sh index 85360170..7d8d4007 100644 --- a/tests/functional-tests.sh +++ b/tests/functional-tests.sh @@ -23,4 +23,15 @@ EOF atf_check touch -m -t 197001010101 list/queue/discarded/* atf_check -s exit:0 $mlmmjmaint -F -L ${here}/list atf_check -o inline:"list/queue/discarded\n" find list/queue/discarded -type d -empty + + #now with relative path + atf_check -s exit:0 $mlmmjrecv -L list -F <<-EOF +bla +EOF + atf_check -o inline:"bla\n" cat list/queue/discarded/* + atf_check -s exit:0 $mlmmjmaint -F -L list + atf_check -o inline:"bla\n" cat list/queue/discarded/* + atf_check touch -m -t 197001010101 list/queue/discarded/* + atf_check -s exit:0 $mlmmjmaint -F -L list + atf_check -o inline:"list/queue/discarded\n" find list/queue/discarded -type d -empty }