Commit 58bde54
committed
test/cp: Fix "No such file or directory" error in test_acl_preserve
Fix a bug in test_acl_preserve that was causing "setfacl: a: No such file or directory"
error messages when running with `cargo test --features=cp test_acl_preserve`.
Changes:
- Use plus_as_string on path1 to generate the correct absolute path
- Move the file path generation closer to where it's used for better code organization1 parent 181885b commit 58bde54
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4055 | 4055 | | |
4056 | 4056 | | |
4057 | 4057 | | |
4058 | | - | |
| 4058 | + | |
4059 | 4059 | | |
4060 | 4060 | | |
4061 | 4061 | | |
4062 | | - | |
| 4062 | + | |
4063 | 4063 | | |
4064 | 4064 | | |
4065 | 4065 | | |
| |||
4074 | 4074 | | |
4075 | 4075 | | |
4076 | 4076 | | |
| 4077 | + | |
4077 | 4078 | | |
4078 | 4079 | | |
4079 | 4080 | | |
| |||
0 commit comments