mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-06 21:51:33 +00:00
Merge pull request #2692 from SvenDowideit/add-specific-feedback-for-bad-ADD
Add specific feedback for ADD outside context
This commit is contained in:
@@ -483,7 +483,7 @@ func TestForbiddenContextPath(t *testing.T) {
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
if err.Error() != "Forbidden path: /" {
|
||||
if err.Error() != "Forbidden path outside the build context: ../../ (/)" {
|
||||
t.Logf("Error message is not expected: %s", err.Error())
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user