** Improvements
+ cat --show-ends will now show \r\n as ^M$. Previously the \r was taken
+ literally, thus overwriting the first character in the line with '$'.
+
cksum is now up to 4 times faster by using a slice by 8 algorithm.
df now recognizes these file systems as remote:
--- /dev/null
+#!/bin/sh
+# Copyright (C) 2021 Free Software Foundation, Inc.
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+. "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
+print_ver_ cat
+
+# \r followed by \n is displayed as ^M$
+# Up to and including 8.32 the $ would have displayed at the start of the line
+# overwriting the first character
+printf 'a\rb\r\nc\n\r\nd\r' > 'in' || framework_failure_
+printf 'a\rb^M$\nc$\n^M$\nd^M' > 'exp' || framework_failure_
+
+cat -E 'in' > out || fail=1
+
+compare exp out || fail=1
+
+Exit $fail
#!/bin/sh
-# Ensure that cat -E produces same output as cat, module '$'s,
+# Ensure that cat -E produces same output as cat, modulo '$'s,
# even when applied to a file in /proc.
# Copyright (C) 2006-2021 Free Software Foundation, Inc.