Skip to content

Commit 0446551

Browse files
committed
Fix output for disabled tests
1 parent 88b04e7 commit 0446551

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ main() {
3838
if [ ! -f cmd ]; then
3939
echo "$dir"
4040
continue
41-
elif [ -x enabled ] && ! ./enabled; then
42-
echo "${yellow}$dir (disabled)${none}"
41+
elif [ -x enabled ] && ! ./enabled >/dev/null 2>&1; then
42+
printf "${yellow}$dir (disabled)${none}"
4343
continue
4444
fi
4545

0 commit comments

Comments
 (0)