We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd6170d commit d1cbd63Copy full SHA for d1cbd63
tests/test.sh
@@ -65,32 +65,16 @@ fi
65
has_feature() {
66
case $d in
67
asan)
68
- if test -n "$ASAN_PRELOAD"; then
69
- return 0
70
- else
71
- return 1
72
- fi
+ test -n "$ASAN_PRELOAD"
73
;;
74
bsd)
75
- if uname | grep -q BSD; then
76
77
78
79
+ uname | grep -q BSD
80
81
netbsd)
82
- if uname | grep -q NetBSD; then
83
84
85
86
+ uname | grep -q NetBSD
87
88
syslog)
89
- if test -r /var/log/syslog || which journalctl > /dev/null; then
90
91
92
93
+ test -r /var/log/syslog || which journalctl > /dev/null
94
95
*)
96
echo >&2 "$t: unknown feature: $d"
0 commit comments