17858: Add test to reproduce bug
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 7 Jul 2021 13:51:09 +0000 (09:51 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Wed, 7 Jul 2021 17:47:33 +0000 (13:47 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

sdk/cwl/tests/17858-pack-visit-crash.cwl [new file with mode: 0644]
sdk/cwl/tests/arvados-tests.yml

diff --git a/sdk/cwl/tests/17858-pack-visit-crash.cwl b/sdk/cwl/tests/17858-pack-visit-crash.cwl
new file mode 100644 (file)
index 0000000..ceb5454
--- /dev/null
@@ -0,0 +1,15 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+cwlVersion: v1.1
+class: ExpressionTool
+inputs:
+  file1:
+    type: File
+    default:
+      class: File
+      location: keep:f225e6259bdd63bc7240599648dde9f1+97/hg19.fa
+outputs:
+  val: string
+expression: "$({val: inputs.file1.path})"
index b22c9aaa27684084ef088f95f119badf1d04e598..f00a7c6c3b1e3a317d3baece7e344fb64d235615 100644 (file)
   }
   tool: 17801-runtime-outdir.cwl
   doc: "Test issue 17801 - bug using $(runtime.outdir) to capture the output directory"
+
+- job: null
+  output:
+    "file1": ""
+  tool: 17858-pack-visit-crash.cwl
+  doc: "Test issue 17858 - keep ref default inputs on ExpressionTool"