Added test161 files for ASST2

This commit is contained in:
Guru Prasad Srinivasa
2016-02-29 20:12:09 -05:00
parent f141875f20
commit 21169ed500
30 changed files with 488 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
name: "Add Test"
description:
Adds two randomly generated numbers.
tags: [proc, fun]
depends: [shell]
---
$ /testbin/add

View File

@@ -0,0 +1,8 @@
---
name: "Argtest"
description:
Checks whether your kernel supports argument passing.
tags: [argtest, proc]
depends: [console]
---
$ /testbin/argtest

View 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

View 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

View File

@@ -0,0 +1,8 @@
---
name: "Fork Test"
tags: [proc]
depends: [console, /asst2/fs/readwritetest.t]
sys161:
ram: 4M
---
p /testbin/forktest

View 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