File: Pass.sh

package info (click to toggle)
jtreg 5.1-b01-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 5,432 kB
  • sloc: java: 29,218; xml: 729; sh: 665; makefile: 245
file content (25 lines) | stat: -rw-r--r-- 536 bytes parent folder | download | duplicates (13)
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
# @test
# @summary Passed: Execution successful

# @test
# @summary Passed: Execution successful
# @run shell Pass.sh

# @test
# @summary Passed: Execution successful
# @run shell/timeout=4 Pass.sh

# @test
# @summary Failed: Execution passed unexptectedly: exit code 0
# @run shell/fail Pass.sh

# @test
# @summary Failed: Execution passed unexptectedly: exit code 0
# @run shell/fail/timeout=8 Pass.sh

# @test
# @summary Passed: Execution successful
# @run shell Pass.sh arg0 arg1 arg2 arg3

echo "I should pass"
echo "My args: " $@