mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
Update ln filter to work with ln (version < 6.x)
Merge of master-melb:xfs-cmds:30759a by kenmcd. added a regular expression on the filter to check before replacing.
This commit is contained in:
@@ -48,7 +48,7 @@ _filter_scratch()
|
|||||||
_filter_ln()
|
_filter_ln()
|
||||||
{
|
{
|
||||||
sed -e "s,SCRATCH_MNT/nosymlink/target - Operation not permitted,ln: creating symbolic link \`SCRATCH_MNT/nosymlink/target\' to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g" \
|
sed -e "s,SCRATCH_MNT/nosymlink/target - Operation not permitted,ln: creating symbolic link \`SCRATCH_MNT/nosymlink/target\' to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g" \
|
||||||
-e "s,: Operation not permitted, to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g"
|
-e "/SCRATCH_MNT.*to.*SCRATCH_MNT/! s,: Operation not permitted, to \`SCRATCH_MNT/nosymlink/source\': Operation not permitted,g"
|
||||||
}
|
}
|
||||||
|
|
||||||
_filter_noymlinks_flag()
|
_filter_noymlinks_flag()
|
||||||
|
|||||||
Reference in New Issue
Block a user