Working on ASST2 targets.
This commit is contained in:
parent
7fa97457a1
commit
58315a9286
@ -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}}"
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -3,7 +3,7 @@ name: "Fork Test"
|
|||||||
description: >
|
description: >
|
||||||
Test that fork works.
|
Test that fork works.
|
||||||
tags: [syscalls,procsyscalls]
|
tags: [syscalls,procsyscalls]
|
||||||
depends: [console, /asst2/fs/readwritetest.t]
|
depends: [console,/asst2/fs/readwritetest.t]
|
||||||
sys161:
|
sys161:
|
||||||
ram: 4M
|
ram: 4M
|
||||||
---
|
---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user