tests: fix header of regression/ust/getcpu-override/run-getcpu-override
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Oct 2021 20:10:18 +0000 (16:10 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 18 Oct 2021 18:58:29 +0000 (14:58 -0400)
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 <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/ust/getcpu-override/run-getcpu-override

index e96e3fc543672db9a677f7ca4dc89668a2b50189..6526a852a9fdadd98766ee7758343fdf6e0d304c 100755 (executable)
@@ -1,5 +1,9 @@
 #!/bin/sh
-SPDX-License-Identifier: GPL-2.0-only
+#
+# Copyright (C) - 2015 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
 
 # launch with: run-getcpu-override progname args
 DIR=$(dirname $0)
This page took 0.026992 seconds and 5 git commands to generate.