Rollup merge of #65187 - Wind-River:master_before_merge, r=rkruppe
use 'invalid argument' for vxWorks vxWorks is using "invalid argument" instead of "Invalid argument" in reporting invalid options r? @rkruppe
This commit is contained in:
commit
bc7df81642
1 changed files with 3 additions and 1 deletions
|
@ -3112,8 +3112,10 @@ mod tests {
|
|||
|
||||
#[cfg(windows)]
|
||||
let invalid_options = 87; // ERROR_INVALID_PARAMETER
|
||||
#[cfg(unix)]
|
||||
#[cfg(all(unix, not(target_os = "vxworks")))]
|
||||
let invalid_options = "Invalid argument";
|
||||
#[cfg(target_os = "vxworks")]
|
||||
let invalid_options = "invalid argument";
|
||||
|
||||
// Test various combinations of creation modes and access modes.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue