12418: Add regression test for glob output on empty collection.
[arvados.git] / sdk / cwl / tests / 12418-glob-empty-collection.cwl
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