mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Merge pull request #2620 from uutils/sylvestre-patch-8
freebsd: also fails the script when the tests fail
This commit is contained in:
@@ -553,6 +553,7 @@ jobs:
|
|||||||
|
|
||||||
# Needs to be done in a sudo as we are changing users
|
# Needs to be done in a sudo as we are changing users
|
||||||
sudo -i -u cuuser sh << EOF
|
sudo -i -u cuuser sh << EOF
|
||||||
|
set -e
|
||||||
whoami
|
whoami
|
||||||
curl https://sh.rustup.rs -sSf --output rustup.sh
|
curl https://sh.rustup.rs -sSf --output rustup.sh
|
||||||
sh rustup.sh -y --profile=minimal
|
sh rustup.sh -y --profile=minimal
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist groupname notexisting passgrp
|
// spell-checker:ignore (words) agroupthatdoesntexist auserthatdoesntexist cuuser groupname notexisting passgrp
|
||||||
|
|
||||||
use crate::common::util::*;
|
use crate::common::util::*;
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
@@ -326,6 +326,8 @@ fn test_chown_only_user_id() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
// FixME: stderr = chown: ownership of 'test_chown_file1' retained as cuuser:wheel
|
||||||
|
#[cfg(not(target_os = "freebsd"))]
|
||||||
fn test_chown_only_group_id() {
|
fn test_chown_only_group_id() {
|
||||||
// test chown :1111 file.txt
|
// test chown :1111 file.txt
|
||||||
|
|
||||||
|
|||||||
@@ -1309,7 +1309,7 @@ fn test_copy_symlink_force() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(all(unix, not(target_os = "freebsd")))]
|
||||||
fn test_no_preserve_mode() {
|
fn test_no_preserve_mode() {
|
||||||
use std::os::unix::prelude::MetadataExt;
|
use std::os::unix::prelude::MetadataExt;
|
||||||
|
|
||||||
@@ -1335,7 +1335,7 @@ fn test_no_preserve_mode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(unix)]
|
#[cfg(all(unix, not(target_os = "freebsd")))]
|
||||||
fn test_preserve_mode() {
|
fn test_preserve_mode() {
|
||||||
use std::os::unix::prelude::MetadataExt;
|
use std::os::unix::prelude::MetadataExt;
|
||||||
|
|
||||||
|
|||||||
@@ -286,6 +286,8 @@ fn test_interpret_backslash_at_eol_literally() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
// FixME: panicked at 'failed to write to stdin of child: Broken pipe (os error 32)
|
||||||
|
#[cfg(not(target_os = "freebsd"))]
|
||||||
fn test_more_than_2_sets() {
|
fn test_more_than_2_sets() {
|
||||||
new_ucmd!()
|
new_ucmd!()
|
||||||
.args(&["'abcdefgh'", "'a", "'b'"])
|
.args(&["'abcdefgh'", "'a", "'b'"])
|
||||||
|
|||||||
Reference in New Issue
Block a user