mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #4104 from kinvolk/rata/relax-dst-path-rel
libct: Remove old comment
This commit is contained in:
@@ -395,12 +395,10 @@ func TestValidateMounts(t *testing.T) {
|
||||
isErr bool
|
||||
dest string
|
||||
}{
|
||||
// TODO (runc v1.x.x): make these relative paths an error. See https://github.com/opencontainers/runc/pull/3004
|
||||
{isErr: false, dest: "not/an/abs/path"},
|
||||
{isErr: false, dest: "./rel/path"},
|
||||
{isErr: false, dest: "./rel/path"},
|
||||
{isErr: false, dest: "../../path"},
|
||||
|
||||
{isErr: false, dest: "/abs/path"},
|
||||
{isErr: false, dest: "/abs/but/../unclean"},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user