Debian Codegraph @

test/t_htnet

raw ◀ ▶
1 Debian patch touch this file
1 #
•2 # Part of the ht://Dig package <https://htdig.sourceforge.net/>
3 # Copyright (c) 1999-2004 The ht://Dig Group
4 # For copyright details, see the file COPYING in your distribution
5 # or the GNU Library General Public License (LGPL) version 2 or later
6 # <http://www.gnu.org/copyleft/lgpl.html>
7 #
8 # $Id: t_htnet,v 1.9 2004/05/28 13:15:30 lha Exp $
9 #
10
11 test_functions_action=--start-apache
12 . ./test_functions
13
14 verbose=$1
15
16 ./testnet -U http://localhost:7400/set3/nph-hang.cgi $verbose
17 if test $? = 1
18 then
19 exit 0
20 else
21 fail "Could not fetch URL"
22 fi
23
24 test-functions_action=--stop-apache
25 . ./test-functions