lp:~eugene2021/plainbox-provider-checkbox/+git/plainbox-provider-checkbox-1

Owned by Yujin.Wu
Get this repository:
git clone https://git.not.enabled/~eugene2021/plainbox-provider-checkbox/+git/plainbox-provider-checkbox-1
Only Yujin.Wu can upload to this repository. If you are Yujin.Wu please log in for upload directions.

Branches

Name Last Modified Last Commit
master 2022-09-08 08:28:25 UTC
Add: add info for knowing secure boot state

Author: Kai-Chuan Hsieh
Author Date: 2022-09-08 07:54:33 UTC

Add: add info for knowing secure boot state

phlin/code-style-fix 2021-08-26 07:56:22 UTC
Change: bin/kernel_taint_test.py: move report_failures() to main() and code c...

Author: Po-Hsu Lin
Author Date: 2021-07-21 11:24:02 UTC

Change: bin/kernel_taint_test.py: move report_failures() to main() and code cleanup

The report_failures() is now just return whether the test pass or fail
move the code piece to main() and update the docstring accordingly.

The tainted bit value and its message will be printed at the beginning
of this if statement, there is no need to print it again.

Remove unnecessary parentheses for return

Use raise SystemExit() for taint_file not found exeception.

phlin/fix-tainted-check 2021-07-19 12:11:38 UTC
bin/kernel_taint_test.py: return 0 for passed cases, 1 for others

Author: Po-Hsu Lin
Author Date: 2021-07-19 11:59:39 UTC

bin/kernel_taint_test.py: return 0 for passed cases, 1 for others

exit takes only integer args in the range 0 - 255
If we return the taint value read from /proc/sys/kernel/tainted,
it might exceed this range and causing unexpected behaviour.

e.g. on a system with kernel warning
$ ./kernel_taint_test.py
Kernel taint value is 512
Taint bit value: 9 (kernel issued warning)
Taint bit value: 9 (kernel issued warning)
$ echo $?
0

Let's just simplify the return logic of report_failures() to return
either 0 or 1.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

phlin/add-dmesg-check 2021-04-01 08:19:25 UTC
Add kernel log check test

Author: Po-Hsu Lin
Author Date: 2021-04-01 08:19:25 UTC

Add kernel log check test

Add a test to check various error messages in dmesg.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>

14 of 4 results
This repository contains Public information 
Everyone can see this information.

Subscribers