📄 run-http2-tests.sh
字号:
#!/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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -