mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2025-09-10 07:59:52 +02:00
build: update gnulib for syntax-check improvement
Commit5b3e538proved useful enough to migrate to gnulib after enhancing it to be more generic, which in turn pointed out that commita2c811dbmissed an offender. * gnulib: Update to latest. * cfg.mk (sc_prohibit_reversed_compare_failure): Delete, now that gnulib provides it. * tests/ls/dangle: Fix last offender.
This commit is contained in:
6
cfg.mk
6
cfg.mk
@@ -280,12 +280,6 @@ sc_prohibit_framework_failure:
|
||||
halt='use framework_failure_ instead' \
|
||||
$(_sc_search_regexp)
|
||||
|
||||
# In tests, use "compare expected actual", not the reverse.
|
||||
sc_prohibit_reversed_compare_failure:
|
||||
@prohibit='\<compare [^ ]+ (exp|/dev/null)' \
|
||||
halt='reversed compare arguments' \
|
||||
$(_sc_search_regexp)
|
||||
|
||||
###########################################################
|
||||
_p0 = \([^"'/]\|"\([^\"]\|[\].\)*"\|'\([^\']\|[\].\)*'
|
||||
_pre = $(_p0)\|[/][^"'/*]\|[/]"\([^\"]\|[\].\)*"\|[/]'\([^\']\|[\].\)*'\)*
|
||||
|
||||
2
gnulib
2
gnulib
Submodule gnulib updated: 908690cb74...a5f6df2b1f
@@ -52,11 +52,11 @@ compare exp out || fail=1
|
||||
# Ensure that ls -Li prints "?" as the inode of a dangling symlink.
|
||||
rm -f out
|
||||
ls -Li d > out 2>/dev/null && fail=1
|
||||
compare out subdir_Li_exp || fail=1
|
||||
compare subdir_Li_exp out || fail=1
|
||||
|
||||
# Ensure that ls -Ls prints "?" as the allocation of a dangling symlink.
|
||||
rm -f out
|
||||
ls -Ls d > out 2>/dev/null && fail=1
|
||||
compare out subdir_Ls_exp || fail=1
|
||||
compare subdir_Ls_exp out || fail=1
|
||||
|
||||
Exit $fail
|
||||
|
||||
Reference in New Issue
Block a user