File: test_gie.yaml

package info (click to toggle)
proj 9.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,620 kB
  • sloc: sh: 219,086; cpp: 173,769; sql: 85,586; python: 8,577; ansic: 6,274; yacc: 1,349; javascript: 228; makefile: 33
file content (24 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
exe: gie
tests:
- comment: Test invalid argument
  args: --invalid
  stderr: "Invalid option \"invalid\""
  exitcode: 1

- comment: Test version argument
  args: --version
  sub: ["gie(_d)?(\\.exe)?: Rel.*", "gie: Rel"]
  stdout: "gie: Rel"
  exitcode: 0

- comment: Test help argument
  args: -h
  grep: "Usage: "
  sub: ["gie(_d)?(\\.exe)?", "gie"]
  stdout: "Usage: gie [-options]... infile..."
  exitcode: 0

- comment: Test gie with non existing input file
  args: i_do_not_exist.txt
  stderr: "-------------------------------------------------------------------------------\nCannot open specified input file 'i_do_not_exist.txt' - bye!\n"
  exitcode: 1