-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3485 from nalind/conformance-mtime
conformance: tighten up exception specifications
- Loading branch information
Showing
22 changed files
with
47 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN touch /a /b | ||
RUN touch -t @1485449953 /a /b | ||
FROM busybox | ||
COPY --from=base /a / | ||
RUN ls -al /a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/1 | ||
RUN mkdir -p /a && touch -t @1485449953 /a/1 | ||
FROM busybox | ||
COPY --from=base /a/1 /a/b/c | ||
RUN ls -al /a/b/c && ! ls -al /a/b/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/1 | ||
RUN mkdir -p /a && touch -t @1485449953 /a/1 | ||
FROM busybox | ||
COPY --from=base /a /a/b/c | ||
RUN ls -al /a/b/c/1 && ! ls -al /a/b/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/1 | ||
RUN mkdir -p /a && touch -t @1485449953 /a/1 | ||
FROM busybox | ||
COPY --from=base a /a | ||
RUN ls -al /a/1 && ! ls -al /a/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/1 | ||
RUN mkdir -p /a && touch -t @1485449953 /a/1 | ||
FROM busybox | ||
COPY --from=base a/. /a | ||
RUN ls -al /a/1 && ! ls -al /a/a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN touch /a | ||
RUN touch -t @1485449953 /a | ||
FROM busybox | ||
COPY --from=base /a /a | ||
RUN ls -al /a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN touch /a | ||
RUN touch -t @1485449953 /a | ||
FROM busybox | ||
WORKDIR /b | ||
COPY --from=base /a . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN touch /a | ||
RUN touch -t @1485449953 /a | ||
FROM busybox | ||
WORKDIR /b | ||
COPY --from=base /a ./b | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a/b && touch /a/b/1 /a/b/2 | ||
RUN mkdir -p /a/b && touch -t @1485449953 /a/b/1 /a/b/2 | ||
FROM busybox | ||
COPY --from=base /a/b/ /b/ | ||
RUN ls -al /b/1 /b/2 /b && ! ls -al /a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a/b && touch /a/b/1 /a/b/2 | ||
RUN mkdir -p /a/b && touch -t @1485449953 /a/b/1 /a/b/2 | ||
FROM busybox | ||
COPY --from=base /a/b/* /b/ | ||
RUN ls -al /b/1 /b/2 /b && ! ls -al /a /b/a /b/b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a/b && touch /a/b/1 /a/b/2 | ||
RUN mkdir -p /a/b && touch -t @1485449953 /a/b/1 /a/b/2 | ||
FROM busybox | ||
COPY --from=base /a/b/. /b/ | ||
RUN ls -al /b/1 /b/2 /b && ! ls -al /a /b/a /b/b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN touch /b | ||
RUN touch -t @1485449953 /b | ||
FROM busybox | ||
COPY --from=base /b /a | ||
RUN ls -al /a && ! ls -al /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/b | ||
RUN mkdir -p /a && touch -t @1485449953 /a/b | ||
FROM busybox | ||
COPY --from=base /a/b /a | ||
RUN ls -al /a && ! ls -al /b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox as base | ||
RUN mkdir -p /a && touch /a/1 | ||
RUN mkdir -p /a && touch -t @1485449953 /a/1 | ||
FROM busybox | ||
COPY --from=base /a/1 /a/b/c/ | ||
RUN ls -al /a/b/c/1 && ! ls -al /a/b/1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/conformance/testdata/dockerignore/allowlist/nothing-dot/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox | ||
RUN touch /file | ||
RUN touch -t @1485449953 /file | ||
FROM scratch | ||
COPY --from=0 /file / | ||
ADD . . |
2 changes: 1 addition & 1 deletion
2
tests/conformance/testdata/dockerignore/allowlist/nothing-slash/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox | ||
RUN touch /file | ||
RUN touch -t @1485449953 /file | ||
FROM scratch | ||
COPY --from=0 /file / | ||
ADD / / |
2 changes: 1 addition & 1 deletion
2
tests/conformance/testdata/dockerignore/allowlist/subsubdir-file/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox | ||
RUN touch /file | ||
RUN touch -t @1485449953 /file | ||
FROM scratch | ||
COPY --from=0 /file / | ||
ADD . . |
2 changes: 1 addition & 1 deletion
2
tests/conformance/testdata/dockerignore/allowlist/subsubdir-nofile/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox | ||
RUN touch /file | ||
RUN touch -t @1485449953 /file | ||
FROM scratch | ||
COPY --from=0 /file / | ||
ADD . . |
2 changes: 1 addition & 1 deletion
2
tests/conformance/testdata/dockerignore/allowlist/subsubdir-nosubdir/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM busybox | ||
RUN touch /file | ||
RUN touch -t @1485449953 /file | ||
FROM scratch | ||
COPY --from=0 /file / | ||
ADD . . |