cloud-hypervisor/scripts
Rob Bradford 8fe5a43d9d tests: Only setcap on test binary
The setcap tool is unusual in its behaviour in that it will process each
parameter separately and abort if one of the parameters is invalid (e.g.
after a symlink.) But any previous parameters will be correctly
processed. This means that depending on the generated test binary name
an invalid entry might occur before it and thus abort the setcap.

Fix to only setcap on the test binary by excluding the other files.
Because the binary name is based on a hash the PR that introduced this
version worked but once merged the hash changed and broke the build.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-11-23 21:15:56 +00:00
..
create-cloud-init.sh scripts: Add Ubuntu cloud-init data 2019-07-30 14:26:26 +02:00
run_integration_tests.sh tests: Only setcap on test binary 2019-11-23 21:15:56 +00:00
run_unit_tests.sh tests: Make panics generate a backtrace 2019-08-16 11:13:36 -07:00