We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be432e commit 066ae1bCopy full SHA for 066ae1b
tests/test_util_name.rs
@@ -7,22 +7,6 @@ use uutests::util::TestScenario;
7
#[cfg(unix)]
8
use std::os::unix::fs::symlink as symlink_file;
9
10
-use std::env;
11
-pub const TESTS_BINARY: &str = env!("CARGO_BIN_EXE_coreutils");
12
-
13
-// Set the environment variable for any tests
14
15
-// Use the ctor attribute to run this function before any tests
16
-#[ctor::ctor]
17
-fn init() {
18
- // No need for unsafe here
19
- unsafe {
20
- std::env::set_var("UUTESTS_BINARY_PATH", TESTS_BINARY);
21
- }
22
- // Print for debugging
23
- eprintln!("Setting UUTESTS_BINARY_PATH={}", TESTS_BINARY);
24
-}
25
26
#[test]
27
#[cfg(feature = "ls")]
28
fn execution_phrase_double() {
0 commit comments