forked from fdo-rs/fido-device-onboard-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not run tests that require root
Do not run tests that require root. The tests requiring superuser privileges are marked as ignored and will display a message on how to actually run those tests, this is with: ``` [root@localhost]# cargo test -- --ignored ``` An additional test is added to check the effective user is actually root before trying to run the commands. Signed-off-by: Miguel Martín <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters