12418: Add regression test for glob output on empty collection.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Oct 2017 18:03:55 +0000 (14:03 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Tue, 10 Oct 2017 18:03:55 +0000 (14:03 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

sdk/cwl/tests/12418-glob-empty-collection.cwl [new file with mode: 0644]
sdk/cwl/tests/arvados-tests.yml

diff --git a/sdk/cwl/tests/12418-glob-empty-collection.cwl b/sdk/cwl/tests/12418-glob-empty-collection.cwl
new file mode 100644 (file)
index 0000000..6c9e7f7
--- /dev/null
@@ -0,0 +1,20 @@
+{
+   "cwlVersion": "v1.0",
+      "arguments": [
+        "true"
+      ],
+      "class": "CommandLineTool",
+      "inputs": [],
+      "outputs": [
+        {
+          "id": "out",
+          "outputBinding": {
+            "glob": "*.txt"
+          },
+          "type": [
+            "null",
+            "File"
+          ]
+        }
+      ]
+}
\ No newline at end of file
index 2f1429efba2b63f7e8c4bdbea555f17c56d0a961..a0de23694c5c11298145804b04c500c42ed996ed 100644 (file)
   }
   tool: 12213-keepref-wf.cwl
   doc: "Test manipulating keep references with expression tools"
+
+- job: null
+  output:
+    out: null
+  tool: 12418-glob-empty-collection.cwl
+  doc: "Test glob output on empty collection"