From 9d3d4108d881147c1e137b3b243f2e5d443e9360 Mon Sep 17 00:00:00 2001 From: Angel Misevski Date: Wed, 27 Nov 2024 16:32:59 -0500 Subject: [PATCH] Add test case covering path specification formats --- .../pack-unpack/test_path-formats.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/testdata/pack-unpack/test_path-formats.yaml diff --git a/testing/testdata/pack-unpack/test_path-formats.yaml b/testing/testdata/pack-unpack/test_path-formats.yaml new file mode 100644 index 00000000..1a52c9fd --- /dev/null +++ b/testing/testdata/pack-unpack/test_path-formats.yaml @@ -0,0 +1,24 @@ +description: Ensure various path formats are supported +kitfile: | + manifestVersion: 1.0.0 + package: + name: test-path-format + docs: + - path: my-file.txt + - path: ./my-file2.txt + - path: dir-one + - path: dir-two/ + - path: ./dir-three + - path: ./dir-four/ + - path: dir-five/my-file.txt + - path: ./dir-six/my-file.txt + +files: + - ./my-file.txt + - ./my-file2.txt + - ./dir-one/test-file + - ./dir-two/test-file + - ./dir-three/test-file + - ./dir-four/test-file + - ./dir-five/my-file.txt + - ./dir-six/my-file.txt