File: test-cli-dump.exp

package info (click to toggle)
esh 0.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 316 kB
  • sloc: sh: 431; makefile: 55
file content (17 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
set -eu
if ( set -o pipefail 2>/dev/null ); then set -o pipefail; fi
__print() { printf '%s' "$*"; }

printf '%s' ''  #< test-cli-dump.in:1

printf '%s' 'Hello from '  #< test-cli-dump.in:2
__print  $TEST_NAME 
printf '%s' '!

'  #< test-cli-dump.in:4
 if [ 1 = 1 ]; then 
printf '%s' 'This is an ESH template.
'  #< test-cli-dump.in:6
 fi 
printf '%s' ''  #< test-cli-dump.in:6