fix test_ls: remove test/dir/ prefix in test_ls_capabilities

The output of 'ls test/cap_pos test/dir' looks like this:
test/cap_pos

test/dir:
cap_neg
cap_pos
This commit is contained in:
Beat Küng
2025-10-20 18:05:02 +02:00
parent 8cc0cb8f10
commit e3dffb5b0a
+1 -1
View File
@@ -6070,7 +6070,7 @@ fn test_ls_capabilities() {
.succeeds()
.stdout_contains("\x1b[30;41mtest/cap_pos") // spell-checker:disable-line
.stdout_contains("\x1b[30;41mcap_pos") // spell-checker:disable-line
.stdout_does_not_contain("0;41mtest/dir/cap_neg"); // spell-checker:disable-line
.stdout_does_not_contain("0;41mcap_neg"); // spell-checker:disable-line
}
#[cfg(feature = "test_risky_names")]