Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
5a3b1123
Commit
5a3b1123
authored
Dec 07, 2013
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests moved under build
parent
6a9494b6
Changes
29
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
427 additions
and
13 deletions
+427
-13
Makefile
build/Makefile
+6
-6
.leading.dot.txt
build/test/.leading.dot.txt
+0
-0
all_build_flags.pl
build/test/all_build_flags.pl
+0
-0
bad.cgi
build/test/bad.cgi
+0
-0
bad2.cgi
build/test/bad2.cgi
+0
-0
hello.cgi
build/test/dir with spaces/hello.cgi
+0
-0
index.html
build/test/dir with spaces/桌面/index.html
+0
-0
embed.c
build/test/embed.c
+0
-0
env.cgi
build/test/env.cgi
+0
-0
exploit.pl
build/test/exploit.pl
+0
-0
hello.cgi
build/test/hello.cgi
+0
-0
hello.txt
build/test/hello.txt
+0
-0
page.lp
build/test/page.lp
+0
-0
passfile
build/test/passfile
+0
-0
sh.cgi
build/test/sh.cgi
+0
-0
ssi1.shtml
build/test/ssi1.shtml
+5
-0
ssi2.shtml
build/test/ssi2.shtml
+0
-0
ssi3.shtml
build/test/ssi3.shtml
+0
-0
ssi4.shtml
build/test/ssi4.shtml
+0
-0
ssi5.shtml
build/test/ssi5.shtml
+0
-0
ssi6.shtml
build/test/ssi6.shtml
+0
-0
ssi7.shtml
build/test/ssi7.shtml
+0
-0
ssi8.shtml
build/test/ssi8.shtml
+0
-0
ssi9.shtml
build/test/ssi9.shtml
+3
-0
test.pl
build/test/test.pl
+2
-2
timeout.cgi
build/test/timeout.cgi
+0
-0
unit_test.c
build/test/unit_test.c
+411
-0
x.php
build/test/x.php
+0
-0
ssi1.shtml
test/ssi1.shtml
+0
-5
No files found.
build/Makefile
View file @
5a3b1123
...
@@ -67,11 +67,11 @@ all:
...
@@ -67,11 +67,11 @@ all:
../mongoose.c
:
../mongoose.h Makefile $(SOURCES)
../mongoose.c
:
../mongoose.h Makefile $(SOURCES)
cat
$(SOURCES)
|
sed
'/#include "internal.h"/d'
>
$@
cat
$(SOURCES)
|
sed
'/#include "internal.h"/d'
>
$@
unix_unit_test
:
$(LUA_SOURCES) Makefile .
.
/test/unit_test.c
unix_unit_test
:
$(LUA_SOURCES) Makefile ./test/unit_test.c
$(CC)
.
.
/test/unit_test.c lua_5.2.1.c
$(CFLAGS)
-g
-O0
-o
t
&&
./t
$(CC)
./test/unit_test.c lua_5.2.1.c
$(CFLAGS)
-g
-O0
-o
t
&&
./t
core_unit_test
:
Makefile .
.
/test/unit_test.c
core_unit_test
:
Makefile ./test/unit_test.c
$(CC)
.
.
/test/unit_test.c
$(CFLAGS)
-g
-O0
-o
t
&&
./t
$(CC)
./test/unit_test.c
$(CFLAGS)
-g
-O0
-o
t
&&
./t
# Make sure that the compiler flags come last in the compilation string.
# Make sure that the compiler flags come last in the compilation string.
# If not so, this can break some on some Linux distros which use
# If not so, this can break some on some Linux distros which use
...
@@ -102,7 +102,7 @@ $(PROG).dll: $(TINY_SOURCES) Makefile
...
@@ -102,7 +102,7 @@ $(PROG).dll: $(TINY_SOURCES) Makefile
# This is broken now due to SSL exclusion
# This is broken now due to SSL exclusion
windows_unit_test.exe
:
$(LUA_SOURCES) Makefile
windows_unit_test.exe
:
$(LUA_SOURCES) Makefile
$(CL)
.
.
/test/unit_test.c lua_5.2.1.c
-DLUA_COMPAT_ALL
\
$(CL)
./test/unit_test.c lua_5.2.1.c
-DLUA_COMPAT_ALL
\
/link /libpath:
$(MSVC)
/lib advapi32.lib /out:
$@
/link /libpath:
$(MSVC)
/lib advapi32.lib /out:
$@
./
$@
./
$@
...
@@ -128,7 +128,7 @@ macos: $(LUA_SOURCES)
...
@@ -128,7 +128,7 @@ macos: $(LUA_SOURCES)
#rm -rf dmg
#rm -rf dmg
tests
:
tests
:
perl .
.
/test/test.pl
$(TEST)
perl ./test/test.pl
$(TEST)
tarball
:
clean
tarball
:
clean
rm
-rf
mongoose-
$(VERSION)
rm
-rf
mongoose-
$(VERSION)
...
...
test/.leading.dot.txt
→
build/
test/.leading.dot.txt
View file @
5a3b1123
File moved
test/all_build_flags.pl
→
build/
test/all_build_flags.pl
View file @
5a3b1123
File moved
test/bad.cgi
→
build/
test/bad.cgi
View file @
5a3b1123
File moved
test/bad2.cgi
→
build/
test/bad2.cgi
View file @
5a3b1123
File moved
test/dir with spaces/hello.cgi
→
build/
test/dir with spaces/hello.cgi
View file @
5a3b1123
File moved
test/dir with spaces/桌面/index.html
→
build/
test/dir with spaces/桌面/index.html
View file @
5a3b1123
File moved
test/embed.c
→
build/
test/embed.c
View file @
5a3b1123
File moved
test/env.cgi
→
build/
test/env.cgi
View file @
5a3b1123
File moved
test/exploit.pl
→
build/
test/exploit.pl
View file @
5a3b1123
File moved
test/hello.cgi
→
build/
test/hello.cgi
View file @
5a3b1123
File moved
test/hello.txt
→
build/
test/hello.txt
View file @
5a3b1123
File moved
test/page.lp
→
build/
test/page.lp
View file @
5a3b1123
File moved
test/passfile
→
build/
test/passfile
View file @
5a3b1123
File moved
test/sh.cgi
→
build/
test/sh.cgi
View file @
5a3b1123
File moved
build/test/ssi1.shtml
0 → 100644
View file @
5a3b1123
<html><pre>
ssi_begin
<!--#include file="../Makefile" -->
ssi_end
</pre></html>
test/ssi2.shtml
→
build/
test/ssi2.shtml
View file @
5a3b1123
File moved
test/ssi3.shtml
→
build/
test/ssi3.shtml
View file @
5a3b1123
File moved
test/ssi4.shtml
→
build/
test/ssi4.shtml
View file @
5a3b1123
File moved
test/ssi5.shtml
→
build/
test/ssi5.shtml
View file @
5a3b1123
File moved
test/ssi6.shtml
→
build/
test/ssi6.shtml
View file @
5a3b1123
File moved
test/ssi7.shtml
→
build/
test/ssi7.shtml
View file @
5a3b1123
File moved
test/ssi8.shtml
→
build/
test/ssi8.shtml
View file @
5a3b1123
File moved
test/ssi9.shtml
→
build/
test/ssi9.shtml
View file @
5a3b1123
ssi_begin
ssi_begin
<!--#include file="../
build/
Makefile" -->
<!--#include file="../Makefile" -->
ssi_end
ssi_end
test/test.pl
→
build/
test/test.pl
View file @
5a3b1123
...
@@ -18,8 +18,8 @@ my $num_requests;
...
@@ -18,8 +18,8 @@ my $num_requests;
my
$dir_separator
=
on_windows
()
?
'\\'
:
'/'
;
my
$dir_separator
=
on_windows
()
?
'\\'
:
'/'
;
my
$copy_cmd
=
on_windows
()
?
'copy'
:
'cp'
;
my
$copy_cmd
=
on_windows
()
?
'copy'
:
'cp'
;
my
$test_dir_uri
=
"test_dir"
;
my
$test_dir_uri
=
"test_dir"
;
my
$root
=
'.
.
/test'
;
my
$root
=
'./test'
;
my
$abs_root
=
Cwd::
abs_path
(
dirname
(
$0
)
.
$dir_separator
.
$root
);
my
$abs_root
=
Cwd::
abs_path
(
dirname
(
$0
)
.
$dir_separator
);
my
$test_dir
=
$abs_root
.
$dir_separator
.
$test_dir_uri
;
my
$test_dir
=
$abs_root
.
$dir_separator
.
$test_dir_uri
;
#print "$test_dir\n"; exit 0;
#print "$test_dir\n"; exit 0;
my
$config
=
'mongoose.conf'
;
my
$config
=
'mongoose.conf'
;
...
...
test/timeout.cgi
→
build/
test/timeout.cgi
View file @
5a3b1123
File moved
test/unit_test.c
→
build/
test/unit_test.c
View file @
5a3b1123
This diff is collapsed.
Click to expand it.
test/x.php
→
build/
test/x.php
View file @
5a3b1123
File moved
test/ssi1.shtml
deleted
100644 → 0
View file @
6a9494b6
<html><pre>
ssi_begin
<!--#include file="../build/Makefile" -->
ssi_end
</pre></html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment