Skip to content

Commit ca73a31

Browse files
committed
Don't use /dev/null
1 parent 5372cd5 commit ca73a31

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Docker/OpenWrt/runTests.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ runCMD "ldd /lib/libustream-ssl.so" 0
1717
# Remove after fixed upstream.
1818
runCMD "sed '\/src\/gz openwrt_kmods https:\/\/downloads.openwrt.org\/releases\/21.02-SNAPSHOT\/targets\/x86\/64\/kmods\/5.4.238-1-5a722da41bc36de95a7195be6fce1b45/s//#&/' -i /etc/opkg/distfeeds.conf" 0
1919
runCMD "opkg update" 0
20-
runCMD "uclient-fetch -O /dev/null 'https://letsencrypt.org'" 0
20+
runCMD "uclient-fetch 'https://letsencrypt.org'" 0
2121
# Negative tests
22-
runCMD "uclient-fetch --ca-certificate=/dev/null -O /dev/null 'https://letsencrypt.org'" 5
23-
runCMD "uclient-fetch -O /dev/null 'https://self-signed.badssl.com/'" 5
24-
runCMD "uclient-fetch -O /dev/null 'https://untrusted-root.badssl.com/'" 5
25-
runCMD "uclient-fetch -O /dev/null 'https://expired.badssl.com/'" 5
22+
runCMD "uclient-fetch --ca-certificate=/dev/null 'https://letsencrypt.org'" 5
23+
runCMD "uclient-fetch 'https://self-signed.badssl.com/'" 5
24+
runCMD "uclient-fetch 'https://untrusted-root.badssl.com/'" 5
25+
runCMD "uclient-fetch 'https://expired.badssl.com/'" 5
2626

2727
echo "All tests passed."

0 commit comments

Comments
 (0)