File: run-test-suite_prefork

package info (click to toggle)
apache2 2.4.66-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 59,884 kB
  • sloc: ansic: 212,340; python: 13,830; perl: 11,307; sh: 7,266; php: 1,320; javascript: 1,314; awk: 749; makefile: 715; lex: 374; yacc: 161; xml: 2
file content (24 lines) | stat: -rwxr-xr-x 634 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

. debian/tests/run-test-suite.sh

set -xeu
set -o pipefail
export LANG=C
export PATH=/usr/lib/ccache:$PATH
# set to "-v t/modules/ext_filter.t ..." to run only a few test, but verbose
TESTS=""
TESTUSER=tuserprefork


# The test framework assumes localhost resolves exclusively to 127.0.0.1
# (and not to ::1). So remove 'localhost' from the ::1 entry.
perl -p -i -e ' if (/^\s*::1\s+/) { s/\s+localhost\s+/ /g }' /etc/hosts

useradd --user-group --system --create-home -s /bin/bash $TESTUSER
cp -a debian/perl-framework $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP/perl-framework

export HARNESS_VERBOSE=1

run_tests mpm_prefork