Skip to content

Commit

Permalink
Silence mknod "failure" in the test-suite setup
Browse files Browse the repository at this point in the history
We're only testing whether mknod is usable or not, so a failure is not a
failure, just information. Silence the distracting message.
  • Loading branch information
pmatilai committed Jul 5, 2023
1 parent b22ab58 commit 2d68e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/atlocal.in
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if grep -q '#define WITH_CAP 1' "${abs_top_builddir}/config.h"; then
else
CAP_DISABLED=true;
fi
if mknod foodev c 123 123; then
if mknod foodev c 123 123 2>/dev/null; then
MKNOD_DISABLED=false
rm -f foodev
else
Expand Down

0 comments on commit 2d68e5f

Please sign in to comment.