File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ source "$root"/lib.bash
55" $ghfs " -l 3003 -R -a :world:" $fs " /vhost1/go :/not/exist/name:" $fs " /vhost1/yes &
66sleep 0.05 # wait server ready
77
8- file1status=$( curl_get_status http://127.0.0.1:3003/file1.txt | head -n 1 | cut -d ' ' -f 2 )
8+ file1status=$( curl_get_status http://127.0.0.1:3003/file1.txt)
99assert " $file1status " ' 404'
1010
11- file1headstatus=$( curl_head_status http://127.0.0.1:3003/file1.txt | head -n 1 | cut -d ' ' -f 2 )
11+ file1headstatus=$( curl_head_status http://127.0.0.1:3003/file1.txt)
1212assert " $file1headstatus " ' 404'
1313
14- hellostatus=$( curl_get_status http://127.0.0.1:3003/hello/index.txt | head -n 1 | cut -d ' ' -f 2 )
14+ hellostatus=$( curl_get_status http://127.0.0.1:3003/hello/index.txt)
1515assert " $hellostatus " ' 404'
1616
17- helloheadstatus=$( curl_head_status http://127.0.0.1:3003/hello/index.txt | head -n 1 | cut -d ' ' -f 2 )
17+ helloheadstatus=$( curl_head_status http://127.0.0.1:3003/hello/index.txt)
1818assert " $helloheadstatus " ' 404'
1919
2020go=$( curl_get_body http://127.0.0.1:3003/world/index.txt)
You can’t perform that action at this time.
0 commit comments