* Add reliable http:// test * REUSE.toml: Add `test/www/**` entry * Use `cwd` instead to work around old http.server in Python 3.6 * Move test to `not-windows-any` * NetBSD: Add `python3` symbolic link * Prevent test from running on woodpecker
18 lines
211 B
Text
18 lines
211 B
Text
NAME=read from http
|
|
FILE=--
|
|
CMDS=<<EOF
|
|
!python3 scripts/http_server.py
|
|
o http://127.0.0.1:9000/simple.html
|
|
r
|
|
b 64
|
|
ps
|
|
EOF
|
|
EXPECT=<<EOF
|
|
342
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>My Simple Web Page</title>
|
|
|
|
EOF
|
|
RUN
|