~mapperr/trk

d6a0779919a35ffdf380bf91c38906095f24a07e — mapperr 10 months ago 3474574
Improve the git test
2 files changed, 6 insertions(+), 0 deletions(-)

M test
M trk
M test => test +5 -0
@@ 149,6 149,11 @@ test_git_initial_handling() {
    logt "using autosync from now on"
    $trk 1h testing
    $trk y

    logt "handling a new file"
    tomorrow_trkfile="$trkdir/`date -d '1 day' +"$trkfile_date_format"`.log"
    echo '1h test' > $tomorrow_trkfile
    $trk y
}

. $SHUNIT_SCRIPT

M trk => trk +1 -0
@@ 30,6 30,7 @@ export trkdir=$trkdir
export trk_active_file=$trk_active_file
export trkfile=$trkfile
export tmpdir=$tmpdir
export trkfile_date_format=$trkfile_date_format
"
}