From: Eric Blake Date: Tue, 29 Nov 2011 23:10:40 +0000 (-0700) Subject: build: update gnulib for syntax-check improvement X-Git-Tag: v8.15~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20dfc04204fa910f83c2b93bca818399cf4f740f;p=thirdparty%2Fcoreutils.git build: update gnulib for syntax-check improvement Commit 5b3e538 proved useful enough to migrate to gnulib after enhancing it to be more generic, which in turn pointed out that commit a2c811db missed 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. --- diff --git a/cfg.mk b/cfg.mk index 3c42d5d929..0626f4802a 100644 --- a/cfg.mk +++ b/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='\ 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