Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
8e0c6264
Commit
8e0c6264
authored
Jun 02, 2021
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
varnishtest: Rename the no_sanitizer feature
parent
127e5b79
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
v00004.vtc
bin/varnishtest/tests/v00004.vtc
+1
-1
v00041.vtc
bin/varnishtest/tests/v00041.vtc
+1
-1
vtc_misc.c
bin/varnishtest/vtc_misc.c
+6
-6
No files found.
bin/varnishtest/tests/v00004.vtc
View file @
8e0c6264
varnishtest "test if our default paramers make sense ..."
feature 64bit
feature
no_
sanitizer
feature
!
sanitizer
# Skip this test in GCOV mode, 68xx bytes extra per level makes it fail
feature cmd {test -z "$GCOVPROG"}
...
...
bin/varnishtest/tests/v00041.vtc
View file @
8e0c6264
varnishtest "Test priv_task"
feature
no_
sanitizer
feature
!
sanitizer
server s1 {
rxreq
...
...
bin/varnishtest/vtc_misc.c
View file @
8e0c6264
...
...
@@ -420,10 +420,10 @@ ipvx_works(const char *target)
* recognized as a macro.
* persistent_storage
* Varnish was built with the deprecated persistent storage.
*
no_
sanitizer
* Varnish was
not
built with a sanitizer.
* sanitizer
* Varnish was built with a sanitizer.
*
* A feature name can be pre
pend
ed with an exclamation mark (!) to skip a
* A feature name can be pre
fix
ed with an exclamation mark (!) to skip a
* test if a feature is present.
*
* Be careful with ignore_unknown_macro, because it may cause a test with a
...
...
@@ -438,9 +438,9 @@ static const unsigned with_persistent_storage = 0;
#endif
#if __SANITIZER
static
const
unsigned
no_sanitizer
=
0
;
static
const
unsigned
sanitizer
=
1
;
#else
static
const
unsigned
no_sanitizer
=
1
;
static
const
unsigned
sanitizer
=
0
;
#endif
#ifdef SO_RCVTIMEO_WORKS
...
...
@@ -495,7 +495,7 @@ cmd_feature(CMD_ARGS)
FEATURE
(
"user_vcache"
,
getpwnam
(
"vcache"
)
!=
NULL
);
FEATURE
(
"group_varnish"
,
getgrnam
(
"varnish"
)
!=
NULL
);
FEATURE
(
"persistent_storage"
,
with_persistent_storage
);
FEATURE
(
"
no_sanitizer"
,
no_
sanitizer
);
FEATURE
(
"
sanitizer"
,
sanitizer
);
FEATURE
(
"SO_RCVTIMEO_WORKS"
,
so_rcvtimeo_works
);
if
(
!
strcmp
(
feat
,
"disable_aslr"
))
{
...
...
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