aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-02 10:16:05 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-02 11:51:16 +0200
commit3dcd1e4db7540459d3dff337684547d68fea2b44 (patch)
tree19f47729bee5edf576bf60855711c6f7075dfaff /functest
parent2c3ba281084c7e6b01c7a5612a8a43d43565331a (diff)
Apply restrictive file permissions
It conforms with [1] by creating a new venv which checks the unix permissions. As jjobs call Functest console scripts [2], all perms can be 644. Dockerfiles are updated as well. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html [2] https://gerrit.opnfv.org/gerrit/#/c/36805/ Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1 Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest')
-rw-r--r--[-rwxr-xr-x]functest/ci/download_images.sh0
-rw-r--r--[-rwxr-xr-x]functest/ci/prepare_env.py4
-rw-r--r--[-rwxr-xr-x]functest/ci/run_tests.py3
-rw-r--r--[-rwxr-xr-x]functest/opnfv_tests/openstack/vping/ping.sh0
-rw-r--r--[-rwxr-xr-x]functest/opnfv_tests/vnf/ims/create_venv.sh0
5 files changed, 0 insertions, 7 deletions
diff --git a/functest/ci/download_images.sh b/functest/ci/download_images.sh
index 23e09c10..23e09c10 100755..100644
--- a/functest/ci/download_images.sh
+++ b/functest/ci/download_images.sh
diff --git a/functest/ci/prepare_env.py b/functest/ci/prepare_env.py
index ae9d9537..da3e6245 100755..100644
--- a/functest/ci/prepare_env.py
+++ b/functest/ci/prepare_env.py
@@ -389,7 +389,3 @@ def main():
parser = PrepareEnvParser()
args = parser.parse_args(sys.argv[1:])
return prepare_env(**args)
-
-
-if __name__ == '__main__':
- sys.exit(main())
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 5155adc4..b95e1008 100755..100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -276,6 +276,3 @@ def main():
args = parser.parse_args(sys.argv[1:])
runner = Runner()
return runner.main(**args).value
-
-if __name__ == '__main__':
- sys.exit(main())
diff --git a/functest/opnfv_tests/openstack/vping/ping.sh b/functest/opnfv_tests/openstack/vping/ping.sh
index 693b8682..693b8682 100755..100644
--- a/functest/opnfv_tests/openstack/vping/ping.sh
+++ b/functest/opnfv_tests/openstack/vping/ping.sh
diff --git a/functest/opnfv_tests/vnf/ims/create_venv.sh b/functest/opnfv_tests/vnf/ims/create_venv.sh
index 575fd177..575fd177 100755..100644
--- a/functest/opnfv_tests/vnf/ims/create_venv.sh
+++ b/functest/opnfv_tests/vnf/ims/create_venv.sh