OSDN Git Service

Don't export IFS outside testcase function trunk
authorWATANABE Yuki <magicant@wonderwand.net>
Sat, 11 May 2024 03:11:52 +0000 (12:11 +0900)
committerWATANABE Yuki <magicant@wonderwand.net>
Sat, 11 May 2024 03:11:52 +0000 (12:11 +0900)
commit89f5387622a9d9504641ee81b19fcf78edddaed3
tree886ea44404e455f119b9c4a6d0268196dc5ad70d
parentb59ed7c2c4d93a1ceafc34939cafbcb5f41ddc7c
Don't export IFS outside testcase function

The run-test.sh script depends on field splitting to pass the correct
option to the diff utility in the testcase function. This means the
function should be called with the default IFS. This commit modifies the
test case that needs a non-default IFS to export it only inside the test
case script.

Fixes https://github.com/magicant/yash/issues/50
tests/fsplit-p.tst