File: more.t

package info (click to toggle)
git-subrepo 0.4.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,552 kB
  • sloc: sh: 7,074; makefile: 273; perl: 226
file content (28 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash

# shellcheck disable=2034

source test/setup
use Test::More

plan tests 6

pass 'This test always passes'

is 'foo' "foo" 'foo is foo'

ok "$(true)" 'true is true'

ok "$([ 123 -eq "$((61+62))" ])" 'Math works'

# shellcheck disable=2050
ok "$([[ ! team =~ I ]])" "There's no I in team"

# diag "A msg for stderr"

note "A msg for stdout"

expected=(line1 line2)

command_output=(line1 line2 )
cmp-array command_output expected "command output more"