We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 413fcab + 63a7af1 commit d557810Copy full SHA for d557810
test/test_stat.rs
@@ -76,7 +76,7 @@ fn test_stat_and_fstat() {
76
77
#[test]
78
fn test_fstatat() {
79
- let tempdir = TempDir::new("nix-test_stat_and_fstat").unwrap();
+ let tempdir = TempDir::new("nix-test_fstatat").unwrap();
80
let filename = tempdir.path().join("foo.txt");
81
File::create(&filename).unwrap();
82
let dirfd = fcntl::open(tempdir.path(),
@@ -101,7 +101,7 @@ fn test_stat_fstat_lstat() {
101
102
// should be the same result as calling stat,
103
// since it's a regular file
104
- let stat_result = lstat(&filename);
+ let stat_result = stat(&filename);
105
assert_stat_results(stat_result);
106
107
let lstat_result = lstat(&linkname);
0 commit comments