While preparing a setup where env vars overload config file, I had the bad experience that my actual todo.txt was messed up by the testsuite so it's safer to unset everything. Even so, some tests could have failed if some TODOTXT_ were set in the user environment, for example: export TODOTXT_PLAIN=1 ./t1200-pri.sh Since test-lib.sh does not depend on bash currently, calculate the list of variables to be unset using set|sed. Signed-off-by: Emil Sit <sit@emilsit.net>
14 KiB
14 KiB