diff options
| author | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
| commit | 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch) | |
| tree | 868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /tests/userprog/exec-missing.ck | |
| parent | eae0bd57f0a26314a94785061888d193d186944a (diff) | |
| download | progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2 progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip | |
reorganize file structure to match the upstream requirements
Diffstat (limited to 'tests/userprog/exec-missing.ck')
| -rw-r--r-- | tests/userprog/exec-missing.ck | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/userprog/exec-missing.ck b/tests/userprog/exec-missing.ck new file mode 100644 index 0000000..0ef7aaa --- /dev/null +++ b/tests/userprog/exec-missing.ck | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF', <<'EOF', <<'EOF', <<'EOF']); | ||
| 6 | (exec-missing) begin | ||
| 7 | load: no-such-file: open failed | ||
| 8 | (exec-missing) exec("no-such-file"): -1 | ||
| 9 | (exec-missing) end | ||
| 10 | exec-missing: exit(0) | ||
| 11 | EOF | ||
| 12 | (exec-missing) begin | ||
| 13 | (exec-missing) exec("no-such-file"): -1 | ||
| 14 | (exec-missing) end | ||
| 15 | exec-missing: exit(0) | ||
| 16 | EOF | ||
| 17 | (exec-missing) begin | ||
| 18 | load: no-such-file: open failed | ||
| 19 | no-such-file: exit(-1) | ||
| 20 | (exec-missing) exec("no-such-file"): -1 | ||
| 21 | (exec-missing) end | ||
| 22 | exec-missing: exit(0) | ||
| 23 | EOF | ||
| 24 | (exec-missing) begin | ||
| 25 | load: no-such-file: open failed | ||
| 26 | (exec-missing) exec("no-such-file"): -1 | ||
| 27 | no-such-file: exit(-1) | ||
| 28 | (exec-missing) end | ||
| 29 | exec-missing: exit(0) | ||
| 30 | EOF | ||
| 31 | pass; | ||
