From: Simon Marchi Date: Tue, 5 Oct 2021 20:10:18 +0000 (-0400) Subject: tests: fix header of regression/ust/getcpu-override/run-getcpu-override X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5b0eea0fcd6be9636e156676d8dc20e886c610f7;p=lttng-tools.git tests: fix header of regression/ust/getcpu-override/run-getcpu-override The "SPDX-License-Identifier:" header is not in a comment, so is interpreted as a bash command. This is harmless, but it appears in the test output: ok 13 - Start tracing for session sequence-cpu # Launching app with getcpu-plugin wrapper ./tests/regression/ust/getcpu-override//run-getcpu-override: 2: SPDX-License-Identifier:: not found ok 14 - Application with wrapper done Fix that, and add a proper copyright notice, based on the other files that were added at the same time as this one. Change-Id: Icdf5e2fd5aec4080b2e5cad10cca4813bad26394 Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/ust/getcpu-override/run-getcpu-override b/tests/regression/ust/getcpu-override/run-getcpu-override index e96e3fc54..6526a852a 100755 --- a/tests/regression/ust/getcpu-override/run-getcpu-override +++ b/tests/regression/ust/getcpu-override/run-getcpu-override @@ -1,5 +1,9 @@ #!/bin/sh -SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) - 2015 Jonathan Rajotte +# +# SPDX-License-Identifier: GPL-2.0-only +# # launch with: run-getcpu-override progname args DIR=$(dirname $0)