Working on ASST2 targets.

This commit is contained in:
Geoffrey Challen 2016-03-01 12:04:53 -05:00
parent 7fa97457a1
commit 58315a9286
4 changed files with 6 additions and 27 deletions

View File

@ -3,32 +3,21 @@ templates:
panics: maybe panics: maybe
output: output:
- text: "/testbin/consoletest: Able was i ere i saw elbA" - text: "/testbin/consoletest: Able was i ere i saw elbA"
- name: /testbin/opentest - name: /testbin/opentest
panics: maybe panics: maybe
- name: /testbin/readwritetest - name: /testbin/readwritetest
panics: maybe panics: maybe
output: output:
- text: "/testbin/readwritetest: h4xa0rRq0Vgbc96tiYJ^!#nXzZSAKPO" - text: "/testbin/readwritetest: h4xa0rRq0Vgbc96tiYJ^!#nXzZSAKPO"
- name: /testbin/closetest - name: /testbin/closetest
panics: maybe panics: maybe
- name: /testbin/fileonlytest - name: /testbin/fileonlytest
panics: maybe panics: maybe
- name: /testbin/redirect - name: /testbin/redirect
- name: /testbin/sparsefile - name: /testbin/sparsefile
panics: maybe panics: maybe
- name: /extratests/badcall - name: /extratests/badcall
- name: faulter - name: faulter
- name: /testbin/forkbomb - name: /testbin/forkbomb
timesout: yes timesout: yes
timeout: 15.0 timeout: 15.0
@ -39,19 +28,14 @@ templates:
- name: kmalloc - name: kmalloc
output: output:
- text: "kmalloc: out of memory" - text: "kmalloc: out of memory"
- name: /testbin/crash - name: /testbin/crash
- name: /testbin/forktest - name: /testbin/forktest
- name: /testbin/randcall - name: /testbin/randcall
- name: /testbin/shelltest - name: /testbin/shelltest
output: output:
- text: "/testbin/shelltest: line-1: Able was i ere i saw elbA" - text: "/testbin/shelltest: line-1: Able was i ere i saw elbA"
- text: "/testbin/shelltest: line-2: Able was i ere i saw elbA" - text: "/testbin/shelltest: line-2: Able was i ere i saw elbA"
- text: "/testbin/shelltest: line-3: Able was i ere i saw elbA" - text: "/testbin/shelltest: line-3: Able was i ere i saw elbA"
- name: /testbin/argtest - name: /testbin/argtest
input: input:
- "{{randString 1 2}}" - "{{randString 1 2}}"
@ -67,20 +51,15 @@ templates:
- text: "/testbin/argtest: /testbin/argtest" - text: "/testbin/argtest: /testbin/argtest"
- text: "{{range $index, $element := .Args}}/testbin/argtest: {{$element}}\n{{end}}" - text: "{{range $index, $element := .Args}}/testbin/argtest: {{$element}}\n{{end}}"
- text: "/testbin/argtest: [NULL]" - text: "/testbin/argtest: [NULL]"
- name: /testbin/bigexec - name: /testbin/bigexec
- name: /testbin/factorial - name: /testbin/factorial
input: input:
- "{{randInt 6 10}}" - "{{randInt 6 10}}"
output: output:
- text: "/testbin/factorial: {{$n:= index .Args 0 | atoi}}{{factorial $n}}\n" - text: "/testbin/factorial: {{$n:= index .Args 0 | atoi}}{{factorial $n}}\n"
- name: /testbin/add - name: /testbin/add
input: input:
- "{{randInt 2 1000}}" - "{{randInt 2 1000}}"
- "{{randInt 2 4000}}" - "{{randInt 2 4000}}"
output: output:
- text: "/testbin/add: {{$x:= index .Args 0 | atoi}}{{$y := index .Args 1 | atoi}}{{add $x $y}}" - text: "/testbin/add: {{$x:= index .Args 0 | atoi}}{{$y := index .Args 1 | atoi}}{{add $x $y}}"

View File

@ -7,12 +7,12 @@ userland: true
tests: tests:
# Make sure the console works # Make sure the console works
- id: syscalls/consoletest.t - id: syscalls/consoletest.t
points: 2 points: 10
# File system system calls (48 points) # File system system calls (50 points)
- id: syscalls/opentest.t - id: syscalls/opentest.t
points: 5 points: 5
- id: syscalls/closetest.t - id: syscalls/closetest.t
points: 3 points: 5
- id: syscalls/readwritetest.t - id: syscalls/readwritetest.t
points: 10 points: 10
- id: syscalls/fileonlytest.t - id: syscalls/fileonlytest.t
@ -34,7 +34,7 @@ tests:
points: 5 points: 5
- id: syscalls/add.t - id: syscalls/add.t
points: 5 points: 5
# Stability tests (50 points) # Stability tests (40 points)
# Bad calls # Bad calls
- id: stability/badcall/badcall-open.t - id: stability/badcall/badcall-open.t
points: 3 points: 3

View File

@ -1,7 +1,7 @@
--- ---
name: "Console Test" name: "Console Test"
description: > description: >
Make sure that the console works. Make sure that the console works and the kernel menu waits appropriately.
tags: [console] tags: [console]
depends: [boot] depends: [boot]
sys161: sys161: