Haivng key/lowkey call checkkeylib on startup caused keytest.sh to generate different output.
Only show "Rebuild lib/keylib.k since xxx" message if -Debugkeylib is specified on command line.
Tweak code to strip off directory and separator in mdep_lsdir in both linux and stdio targets.
Call freeftime() at end of checkkeylibdir() to free any accumulated filenames so next call to checkkeylibdir starts with same conditions.
Set KEYPATH on lowkey invocations in keytest.sh to restrict the search to just ../lib - otherwise it treats all testcase code as part of keylib.
Haivng key/lowkey call checkkeylib on startup caused keytest.sh to generate different output. Only show "Rebuild lib/keylib.k since xxx" message if -Debugkeylib is specified on command line. Tweak code to strip off directory and separator in mdep_lsdir in both linux and stdio targets. Call freeftime() at end of checkkeylibdir() to free any accumulated filenames so next call to checkkeylibdir starts with same conditions. Set KEYPATH on lowkey invocations in keytest.sh to restrict the search to just ../lib - otherwise it treats all testcase code as part of keylib.