tests: Rename unix_sigpipe.rs to unix_sigpipe-bare.rs for clarity

The test is for the "bare" variant of the attribute that looks like this:

    #[unix_sigpipe]

which is not allowed, because it must look like this:

    #[unix_sigpipe = "sig_ign"]
This commit is contained in:
Martin Nordholts 2024-02-09 06:44:56 +01:00
parent e060274e55
commit a1cb3dba84
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
error: valid values for `#[unix_sigpipe = "..."]` are `inherit`, `sig_ign`, or `sig_dfl`
--> $DIR/unix_sigpipe.rs:3:1
--> $DIR/unix_sigpipe-bare.rs:3:1
|
LL | #[unix_sigpipe]
| ^^^^^^^^^^^^^^^