Skip to content

Commit 589428b

Browse files
committed
Add inside_docker test for BuildBuilder::patch_with_path
1 parent 22d4ef2 commit 589428b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/buildtest/inside_docker.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ fn test_hello_world() {
1515
execute("buildtest::test_hello_world").unwrap();
1616
}
1717

18+
#[test]
19+
#[cfg(unix)]
20+
fn test_path_based_patch() {
21+
execute("buildtest::path_based_patch").unwrap();
22+
}
23+
1824
fn execute(test: &str) -> Result<(), Error> {
1925
// The current working directory is mounted in the container to /outside.
2026
// The binary to execute is remapped to be prefixed by /outside instead of the current

0 commit comments

Comments
 (0)