Skip to content

Commit 2656419

Browse files
committed
Test more derived paths
1 parent 20db099 commit 2656419

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

src/libstore/tests/worker-protocol.cc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,19 @@ VERSIONED_CHARACTERIZATION_TEST(
7272
derivedPath,
7373
"derived-path",
7474
defaultVersion,
75-
(std::tuple<DerivedPath, DerivedPath> {
75+
(std::tuple<DerivedPath, DerivedPath, DerivedPath, DerivedPath> {
7676
DerivedPath::Opaque {
7777
.path = StorePath { "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo" },
7878
},
79+
DerivedPath::Opaque {
80+
.path = StorePath { "g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-foo.drv" },
81+
},
82+
DerivedPath::Built {
83+
.drvPath = makeConstantStorePathRef(StorePath {
84+
"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv",
85+
}),
86+
.outputs = OutputsSpec::All { },
87+
},
7988
DerivedPath::Built {
8089
.drvPath = makeConstantStorePathRef(StorePath {
8190
"g1w7hy3qg1w7hy3qg1w7hy3qg1w7hy3q-bar.drv",
128 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)