run-http2-tests.sh
来自「The Kannel Open Source WAP and SMS gatew」· Shell 代码 · 共 26 行
SH
26 行
#!/bin/sh## Compare lynx -source output and test_http output on a number of URLs.## Lars Wirzeniusfor url in `cat test/http-test-urls`do echo "Testing $url..." lynx -source "$url" > lynx.tmp test/test_http -s "$url" > http.tmp test/test_http -s "$url" > http2.tmp if diff -u lynx.tmp http.tmp >/dev/null && diff -u lynx.tmp http2.tmp > /dev/null then : else echo "Lynx and test_http disagree. Oops." echo "URL is <$url>." echo "See lynx.tmp and http2.tmp." exit 1 fidoneecho "All tests passed. Very good."rm -f lynx.tmp http.tmp http2.tmp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?