]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: od: ensure -j1 /dev/null succeeds
authoroech3 <79379754+oech3@users.noreply.github.com>
Wed, 25 Mar 2026 17:08:51 +0000 (02:08 +0900)
committerPádraig Brady <P@draigBrady.com>
Wed, 25 Mar 2026 17:46:16 +0000 (17:46 +0000)
Users may be using this to convert bases.

* tests/od/od-j.sh: Add a test case.
https://github.com/coreutils/coreutils/pull/228

tests/od/od-j.sh

index 4c76f9e7d4729dedf44a22f6e0cb310d2ac0460b..98e5f2c099011e64fc6e6f2fc51a11bff7b22cb1 100755 (executable)
@@ -19,6 +19,8 @@
 . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src
 print_ver_ od
 
+od -j1 /dev/null || fail=1
+
 for file in ${srcdir=.}/tests/init.sh /proc/version /sys/kernel/profiling; do
   test -r $file || continue