]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: use bash parameter substitution instead of echo & sed
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 10 Apr 2026 19:02:34 +0000 (15:02 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 4 May 2026 11:31:11 +0000 (07:31 -0400)
commit98c75a7efb0db4c019e840378f38bd836b4cd4dc
treef5520399862d6724ecf4a3acec5d7e32e63877d6
parente3c0b3e60e8a0869a6d525f41cf4a25a50f8f494
tests: use bash parameter substitution instead of echo & sed

This helps simplify the code and avoids unnecessary resource
allocations due to the process and pipe creations caused by
invocations of sed and echo.

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/run.sh
tests/ts/cal/bigyear
tests/ts/cal/jan1753
tests/ts/cal/sep1752
tests/ts/cal/weekarg
tests/ts/cal/weeknum
tests/ts/cal/year