Skip to content

Add encrypted ext4 and connectivity validation scripts to baseport suite #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

qcom-anilyada
Copy link
Contributor

@qcom-anilyada qcom-anilyada commented May 16, 2025

This pull request introduces two key additions to the baseport functional test suite:

1. Encrypted ext4 Mount Test (shmbridge)

  • Validates encrypted ext4 filesystem setup using fscryptctl
  • Includes partition formatting, key generation, encryption policy application, and file I/O verification
  • Location: Runner/suites/Kernel/FunctionalArea/baseport/shmbridge/run.sh

2. Connectivity Test Scripts

  • Adds standalone test scripts for Bluetooth, Ethernet, and WiFi validation
  • Each script performs dependency checks, interface status verification, and connectivity tests
  • Includes clear logging and result reporting for integration into automated test frameworks

These additions enhance the kernel-level validation coverage for secure storage and basic connectivity.

Signed-off-by: Anil Yadav [email protected]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include a README.md file with all the prerequisites required to validate this test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include a README.md file with all the prerequisites required to validate this test.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include a README.md file with all the prerequisites required to validate this test.

lumag added a commit to qualcomm-linux/meta-qcom that referenced this pull request May 19, 2025
Adding the utilities net-tools and rng-tools in
'initramfs-test-full-image.bb'

- net-tools is required by the
[scripts](qualcomm-linux/qcom-linux-testkit#35)
in PR#35 in qcom-linux-testkit
- rng-tools is required by the
[script](https://github.com/qualcomm-linux/qcom-linux-testkit/blob/main/Runner/suites/Kernel/FunctionalArea/baseport/rngtest/run.sh)
to run rngtest
…s, and license headers

This commit includes the following changes:
- Adds an encrypted ext4 mount test with fscryptctl integration (Runner/suites/Kernel/FunctionalArea/baseport/shmbridge/run.sh)
- Introduces standalone test scripts for validating Bluetooth, Ethernet, and WiFi functionality
- Adds SPDX BSD-3-Clause-Clear license headers to all test scripts, ensuring proper attribution and compliance with open source licensing standards
- Improves script reliability by checking for the availability of ip and ping utilities

Signed-off-by: Anil Yadav <[email protected]>
Copy link
Contributor

@smuppand smuppand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase your feature branch on top of the latest main. This helps PR to review easiser and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants