logo

utils-std

Collection of commonly available Unix tools git clone https://anongit.hacktivis.me/git/utils-std.git/
commit: f69a81f03d91c666d42f9d0c06bc011b115ae2cd
parent 69a02d048eb0b0bfb253e8db1c2b6611f260a85c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 17 Mar 2025 20:06:13 +0100

test-cmd/getconf.sh: throw error messages for nodupes check

Diffstat:

Mtest-cmd/getconf.sh2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cmd/getconf.sh b/test-cmd/getconf.sh @@ -7,7 +7,7 @@ target="${WD}/../cmd/getconf" plans=3 . "${WD}/tap.sh" -getconf_dupes() { "$target" -a | cut -d= -f1 | sort | uniq -d; } +getconf_dupes() { "$target" -a 2>/dev/null | cut -d= -f1 | sort | uniq -d; } # utils-std doesn't have sort yet if command -v sort >/dev/null 2>/dev/null; then