Added test161 files for ASST2
This commit is contained in:
8
test161/tests/asst2/process/add.t
Normal file
8
test161/tests/asst2/process/add.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Add Test"
|
||||
description:
|
||||
Adds two randomly generated numbers.
|
||||
tags: [proc, fun]
|
||||
depends: [shell]
|
||||
---
|
||||
$ /testbin/add
|
8
test161/tests/asst2/process/argtest.t
Normal file
8
test161/tests/asst2/process/argtest.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Argtest"
|
||||
description:
|
||||
Checks whether your kernel supports argument passing.
|
||||
tags: [argtest, proc]
|
||||
depends: [console]
|
||||
---
|
||||
$ /testbin/argtest
|
11
test161/tests/asst2/process/bigexec.t
Normal file
11
test161/tests/asst2/process/bigexec.t
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: "Bigexec Test"
|
||||
description:
|
||||
Tests to ensure that the argument passing logic is not hard-coded
|
||||
to small argument lengths.
|
||||
tags: [proc]
|
||||
depends: [shell, /asst2/process/argtest.t]
|
||||
sys161:
|
||||
ram: 4M
|
||||
---
|
||||
$ /testbin/bigexec
|
11
test161/tests/asst2/process/factorial.t
Normal file
11
test161/tests/asst2/process/factorial.t
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: "Factorial Test"
|
||||
description:
|
||||
Attempts to calculate factorial by recursive replacing the current process
|
||||
with the number computed thus far.
|
||||
tags: [proc, fun]
|
||||
depends: [shell]
|
||||
sys161:
|
||||
ram: 4M
|
||||
---
|
||||
$ /testbin/factorial
|
8
test161/tests/asst2/process/forktest.t
Normal file
8
test161/tests/asst2/process/forktest.t
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: "Fork Test"
|
||||
tags: [proc]
|
||||
depends: [console, /asst2/fs/readwritetest.t]
|
||||
sys161:
|
||||
ram: 4M
|
||||
---
|
||||
p /testbin/forktest
|
13
test161/tests/asst2/process/shell.t
Normal file
13
test161/tests/asst2/process/shell.t
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: "Shell Test"
|
||||
description:
|
||||
Tests whether the shell works by running /testbin/consoletest in the shell.
|
||||
The shell test tries to identify a race condition between the shell and the
|
||||
program that the shell is trying to run.
|
||||
tags: [proc, shell]
|
||||
depends: [console]
|
||||
sys161:
|
||||
ram: 2M
|
||||
---
|
||||
$ /testbin/shelltest
|
||||
$ /testbin/shelltest
|
Reference in New Issue
Block a user