Skip to content

Commit 5fe23ed

Browse files
committed
test(ln): test_symlink_no_deref_dir success has no stderr
1 parent 80f5e0d commit 5fe23ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/by-util/test_ln.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,11 @@ fn test_symlink_no_deref_dir() {
542542
scene.ucmd().args(&["-sn", dir1, link]).fails();
543543

544544
// Try with the no-deref
545-
scene.ucmd().args(&["-sfn", dir1, link]).succeeds();
545+
scene
546+
.ucmd()
547+
.args(&["-sfn", dir1, link])
548+
.succeeds()
549+
.no_stderr();
546550
assert!(at.dir_exists(dir1));
547551
assert!(at.dir_exists(dir2));
548552
assert!(at.is_symlink(link));

0 commit comments

Comments
 (0)