]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (rev) use long options to improve test coverage report
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 23 Jan 2026 20:27:25 +0000 (15:27 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 30 Jan 2026 01:08:36 +0000 (20:08 -0500)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
tests/ts/misc/rev

index b13f79c540fdb1692ac3bb5a18798f34f2170325..2f43b47b735c644ff917410aec248cbb19645a90 100755 (executable)
@@ -28,7 +28,7 @@ for I in {0..512}; do printf "%s " {a..z}; done | \
 
 printf "abc\n123" | $TS_CMD_REV >> $TS_OUTPUT 2>> $TS_ERRLOG
 echo >> $TS_OUTPUT
-printf "abc\000123" | $TS_CMD_REV -0 | tr '\0' '|' >> $TS_OUTPUT 2>> $TS_ERRLOG
+printf "abc\000123" | $TS_CMD_REV --zero | tr '\0' '|' >> $TS_OUTPUT 2>> $TS_ERRLOG
 echo >> $TS_OUTPUT
 
 ts_finalize