mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user