tests: init.sh: support any non-GNU diff