]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
selftests/sgx: Treat CC as one argument
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Mon, 14 Feb 2022 18:41:09 +0000 (23:41 +0500)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:37:57 +0000 (14:37 +0200)
commit3904f7115a7f422a0911bda9bd7a6d0349e25e09
tree02be106ce862065b140df7ffe69e1b48b4d64125
parent1e8a6a847d3b20df5f8cbc8366a2cafaea857be3
selftests/sgx: Treat CC as one argument

BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit 6170abb21e2380477080b25145da9747ad467d3d ]

CC can have multiple sub-strings like "ccache gcc". For check_cc.sh,
CC needs to be treated like one argument. Put double quotes around it to
make CC one string and hence one argument.

Fixes: 2adcba79e69d ("selftests/x86: Add a selftest for SGX")
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20220214184109.3739179-3-usama.anjum@collabora.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 4d6e00474872a57176ac5f38422d2b15c22073df)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
tools/testing/selftests/sgx/Makefile