#! /bin/sh # Test for: # https://bugzilla.redhat.com/show_bug.cgi?id=684977 : "${srcdir=.}" # shellcheck source-path=SCRIPTDIR . "$srcdir/testlib.sh" case $MANDIR_LAYOUT in ""|GNU) ;; *) skip "only applicable to GNU layout" ;; esac : "${MAN=man}" init fake_config /usr/share/man MANPATH="$tmpdir/usr/share/man" export MANPATH # Force default section order. cat >>"$tmpdir/manpath.config" <"$tmpdir/1.exp" <"$tmpdir/1.out" expect_files_equal 'exact section matches win' "$tmpdir/1.exp" "$tmpdir/1.out" finish