mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
Fix non-exhaustive pattern in selinux doc test
This commit is contained in:
committed by
Sylvestre Ledru
parent
42b734bc42
commit
395dd8181e
@@ -219,6 +219,7 @@ pub fn set_selinux_security_context(
|
||||
/// Err(SeLinuxError::ContextRetrievalFailure(e)) => println!("Failed to retrieve the security context: {e}"),
|
||||
/// Err(SeLinuxError::ContextConversionFailure(ctx, e)) => println!("Failed to convert context '{ctx}': {e}"),
|
||||
/// Err(SeLinuxError::ContextSetFailure(ctx, e)) => println!("Failed to set context '{ctx}': {e}"),
|
||||
/// Err(SeLinuxError::OperationNotSupported) => println!("Operation not supported"),
|
||||
/// }
|
||||
/// ```
|
||||
pub fn get_selinux_security_context(
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ cd -
|
||||
export CARGOFLAGS # tell to make
|
||||
if [ "${SELINUX_ENABLED}" = 1 ];then
|
||||
# Build few utils for SELinux for faster build. MULTICALL=y fails...
|
||||
"${MAKE}" UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami"
|
||||
make UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami"
|
||||
else
|
||||
# Use MULTICALL=y for faster build
|
||||
make MULTICALL=y SKIP_UTILS=more
|
||||
|
||||
Reference in New Issue
Block a user