13135: Update tests for secret_mounts
[arvados.git] / sdk / cwl / tests / wf / listing_shallow.cwl
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 class: CommandLineTool
6 cwlVersion: v1.0
7 $namespaces:
8   cwltool: http://commonwl.org/cwltool#
9 requirements:
10   cwltool:LoadListingRequirement:
11     loadListing: shallow_listing
12   InlineJavascriptRequirement: {}
13 inputs:
14   d: Directory
15 outputs:
16   out: stdout
17 stdout: output.txt
18 arguments:
19   [echo, "${if(inputs.d.listing[0].class === 'Directory' && inputs.d.listing[0].listing === undefined) {return 'true';} else {return 'false';}}"]