lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 12 Apr 2020 17:11:17 +0300
From:   Jarkko Sakkinen <>
To:     Shuah Khan <>
        Jarkko Sakkinen <>,
        Nikita Sobolev <>,
        Tadeusz Struk <>, (open list)
Subject: [PATCH] selftests/tpm: Fix runtime error

There is some random clutter in

  ./ line 3: self.flags: command not found

Remove it.

Fixes: b32694cd0724 ("Kernel selftests: tpm2: check for tpm support")
Cc: Nikita Sobolev <>
Signed-off-by: Jarkko Sakkinen <>
I rely on these tests and this was not even cc'd to me and obviously
was untested. There is neither reviewed-by nor tested-by tags in the
commit (not to mention some cosmetic things like short summary
formatted wrong and the extra newline character).

Please do not do this next time. Thanks.
 tools/testing/selftests/tpm2/ | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/tpm2/ b/tools/testing/selftests/tpm2/
index b630c7b5950a..e55d3e400666 100755
--- a/tools/testing/selftests/tpm2/
+++ b/tools/testing/selftests/tpm2/
@@ -1,11 +1,9 @@
 # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
-self.flags = flags
 # Kselftest framework requirement - SKIP code is 4.
 if [ -f /dev/tpm0 ] ; then
 	python -m unittest -v tpm2_tests.SmokeTest
 	python -m unittest -v tpm2_tests.AsyncTest

Powered by blists - more mailing lists