diff options
-rw-r--r-- | NEWS.md | 7 | ||||
-rwxr-xr-x | src/tests/mandb-symlink-target-timestamp | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +man-db 2.10.1 +============= + +Fixes: + + * Fix occasional `mandb-symlink-target-timestamp` test failure. + man-db 2.10.0 (4 February 2022) =============================== diff --git a/src/tests/mandb-symlink-target-timestamp b/src/tests/mandb-symlink-target-timestamp index 1c87d3da..3208eb85 100755 --- a/src/tests/mandb-symlink-target-timestamp +++ b/src/tests/mandb-symlink-target-timestamp @@ -21,8 +21,8 @@ write_page test 1 "$tmpdir/usr/share/man/man1/test.1.gz" \ ln -s test.1.gz "$tmpdir/usr/share/man/man1/test-link.1.gz" run $MANDB -C "$tmpdir/manpath.config" -u -q "$tmpdir/usr/share/man" cat >"$tmpdir/1.exp" <<EOF -test -> "- 1 1 $(./get-mtime "$tmpdir/usr/share/man/man1/test.1.gz" | tr . ' ') A - - gz test(1)" -test-link -> "- 1 1 $(./get-mtime "$tmpdir/usr/share/man/man1/test-link.1.gz" | tr . ' ') B - - gz test(1)" +test -> "- 1 1 $(./get-mtime "$tmpdir/usr/share/man/man1/test.1.gz" | sed 's/\.0*/ /') A - - gz test(1)" +test-link -> "- 1 1 $(./get-mtime "$tmpdir/usr/share/man/man1/test-link.1.gz" | sed 's/\.0*/ /') B - - gz test(1)" EOF run $ACCESSDB "$tmpdir/usr/share/man/index$db_ext" | \ grep -v '^\$' >"$tmpdir/1.out" |