mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 14:51:44 +00:00
ctags: ensure that binary has correct featureset (#60084)
This commit is contained in:
parent
5db45a0111
commit
29338b0e50
@ -15,6 +15,11 @@ commandTests:
|
||||
envVars:
|
||||
- key: "SANITY_CHECK"
|
||||
value: "true"
|
||||
- name: "ctags has correct features"
|
||||
command: "universal-ctags"
|
||||
args:
|
||||
- --list-features
|
||||
expectedOutput: ["interactive", "json"]
|
||||
|
||||
# TODO(security): This container should not be running as root
|
||||
# - name: "not running as root"
|
||||
@ -31,6 +36,3 @@ fileExistenceTests:
|
||||
uid: 100
|
||||
gid: 101
|
||||
permissions: 'drwxr-xr-x'
|
||||
- name: 'jansson package'
|
||||
path: 'usr/lib/libjansson.so.4'
|
||||
shouldExist: true
|
||||
|
||||
@ -18,10 +18,16 @@ commandTests:
|
||||
command: "git"
|
||||
args:
|
||||
- version
|
||||
|
||||
- name: "ctags is runnable"
|
||||
command: "universal-ctags"
|
||||
args:
|
||||
- --version
|
||||
- name: "ctags has correct features"
|
||||
command: "universal-ctags"
|
||||
args:
|
||||
- "--list-features"
|
||||
expectedOutput: ["interactive", "json"]
|
||||
|
||||
- name: "not running as root"
|
||||
command: "/usr/bin/id"
|
||||
@ -44,9 +50,6 @@ fileExistenceTests:
|
||||
uid: 100
|
||||
gid: 101
|
||||
permissions: 'drwxr-xr-x'
|
||||
- name: 'jansson package'
|
||||
path: 'usr/lib/libjansson.so.4'
|
||||
shouldExist: true
|
||||
|
||||
metadataTest:
|
||||
envVars:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user