Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
ngx_http_voms_module
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cnafsd
ngx_http_voms_module
Commits
edf92cc9
Commit
edf92cc9
authored
2 years ago
by
lcappelli
Browse files
Options
Downloads
Patches
Plain Diff
Remove old test files
parent
174f01e4
No related branches found
No related tags found
1 merge request
!23
Use nginx with njs instead of openresty with lua
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
t/my-njs-test.t
+0
-26
0 additions, 26 deletions
t/my-njs-test.t
t/testvoms.js
+0
-9
0 additions, 9 deletions
t/testvoms.js
with
0 additions
and
35 deletions
t/my-njs-test.t
deleted
100644 → 0
+
0
−
26
View file @
174f01e4
use
Test::Nginx::
Socket
'
no_plan
';
run_tests
();
__DATA__
=== TEST 1: hello world
--- main_config
load_module /etc/nginx/modules/ngx_http_js_module.so;
load_module /etc/nginx/modules/ngx_stream_js_module.so;
--- http_config
js_path "/home/nginx/t";
js_import main from testvoms.js;
--- config
location = /hello {
js_content main.hello;
}
--- request
GET /hello
--- response_body
Hello world!
This diff is collapsed.
Click to expand it.
t/testvoms.js
deleted
100644 → 0
+
0
−
9
View file @
174f01e4
function
version
(
r
)
{
r
.
return
(
200
,
njs
.
version
);
}
function
hello
(
r
)
{
r
.
return
(
200
,
"
Hello world!
\n
"
);
}
export
default
{
version
,
hello
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment