mirror of
https://https.git.savannah.gnu.org/git/coreutils.git
synced 2026-01-26 15:29:07 +00:00
tests: stty.sh: skip on systems without perl
* init.cfg (stty_reversible_init_): Add require_perl_ to ensure we skip rather than error, without perl.
This commit is contained in:
parent
cc01b8a8f4
commit
046ab76166
1
init.cfg
1
init.cfg
@ -384,6 +384,7 @@ rwx_to_mode_()
|
||||
# with a space.
|
||||
stty_reversible_init_()
|
||||
{
|
||||
require_perl_
|
||||
# Pad start with one space for the first option to match in query function.
|
||||
stty_reversible_=' '$(perl -lne '/^ *{"(.*?)",.*\bREV\b/ and print $1' \
|
||||
"$abs_top_srcdir"/src/stty.c | tr '\n' ' ')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user