diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-06 13:09:24 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-06 13:09:24 +0000 |
commit | 321341f6c09b8d51f6ed137833300af5417a3b61 (patch) | |
tree | 955dc9a989d551fc0dfb1f3ff3fbff6285215c5e /regress/runtime | |
parent | 6edcfca97fb01418cfdb8a2595060a63b7471d48 (diff) |
add -T timeout to gg; don't let the regress test hang
Diffstat (limited to 'regress/runtime')
-rwxr-xr-x | regress/runtime | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/runtime b/regress/runtime index 267331e..6b8fdbb 100755 --- a/regress/runtime +++ b/regress/runtime @@ -31,19 +31,19 @@ checkconf() { # usage: get <path> # return the body of the request on stdout get() { - ./gg -b $ggflags "gemini://localhost:10965/$1" + ./gg -T30 -b $ggflags "gemini://localhost:10965/$1" } # usage: head <path> # return the meta response line on stdout head() { - ./gg -h $ggflags "gemini://localhost:10965/$1" + ./gg -T30 -h $ggflags "gemini://localhost:10965/$1" } # usage: raw <path> # return both header and body raw() { - ./gg $ggflags "gemini://localhost:10965/$1" + ./gg -T30 $ggflags "gemini://localhost:10965/$1" } run() { |