From: oech3 <79379754+oech3@users.noreply.github.com> Date: Thu, 12 Feb 2026 16:24:13 +0000 (+0000) Subject: tests: arch: add option parsing check X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e97507e6c9c1c2c5594167958f8ccef82554d7;p=thirdparty%2Fcoreutils.git tests: arch: add option parsing check * tests/misc/arch.sh: Ensure -- to indicate end of options is accepted. https://github.com/coreutils/coreutils/pull/191 --- diff --git a/tests/misc/arch.sh b/tests/misc/arch.sh index 1700a22fa5..68dc460449 100755 --- a/tests/misc/arch.sh +++ b/tests/misc/arch.sh @@ -21,7 +21,9 @@ print_ver_ arch arch > out || fail=1 uname -m > exp || fail=1 +compare exp out || fail=1 +arch -- > out || fail=1 compare exp out || fail=1 Exit $fail