File: README

package info (click to toggle)
xsp 4.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 5,168 kB
  • ctags: 2,422
  • sloc: cs: 13,500; sh: 12,082; xml: 8,279; makefile: 650; perl: 619; ansic: 299; php: 6
file content (37 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
This directory contains a small test suite to check for any regressions
in XSP that could cause security vulnerabilities. Contributions are welcome!

Directory structure for the tests

/NOACCESS
/webroot/
	index.aspx

Some tests try to access index.aspx to retrieve its source code. Other 
tests try to access the file NOACCESS that resides outside the root of
the web server.

* Tests execution (using the same computer)

From a terminal window:

	cd xsp/unittests/webroot
	xsp

From another terminal window:

	cd xsp/unittests/Tests.XSP.Security
	make run-test-local


* Tests execution (using different computers)

From the server computer (e.g. named "server.test.my"):

	cd xsp/unittests/webroot
	xsp --port 80

From the client computer

	cd xsp/unittests/Tests.XSP.Security
	XSP_TEST_HOST=server.test.my:80 make run-test