Added test161 files for ASST2

This commit is contained in:
Guru Prasad Srinivasa committed 2016-02-29 20:12:09 -05:00
1 parent f141875f20
commit 21169ed500
30 files changed
+488

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
---
name: "Add Test"
description:
Adds two randomly generated numbers.
tags: [proc, fun]
depends: [shell]
---
$ /testbin/add
+8
View File
@@ -0,0 +1,8 @@
---
name: "Argtest"
description:
Checks whether your kernel supports argument passing.
tags: [argtest, proc]
depends: [console]
---
$ /testbin/argtest
+11
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
+11
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
+8
View File
@@ -0,0 +1,8 @@
---
name: "Fork Test"
tags: [proc]
depends: [console, /asst2/fs/readwritetest.t]
sys161:
ram: 4M
---
p /testbin/forktest
+13
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