ASST2 target cleanup.

This commit is contained in:
Geoffrey Challen
2016-03-01 13:11:30 -05:00
parent 58315a9286
commit 4bbcf5839e
25 changed files with 83 additions and 89 deletions

View File

@@ -2,7 +2,7 @@
name: "Add Test"
description:
Adds two randomly generated numbers.
tags: [proc, fun]
tags: [sys_exec,procsyscalls,syscalls]
depends: [shell]
---
$ /testbin/add

View File

@@ -2,7 +2,7 @@
name: "Argtest"
description:
Checks whether your kernel supports argument passing.
tags: [argtest, proc]
depends: [console]
tags: [sys_exec,procsyscalls,syscalls]
depends: [shell]
---
$ /testbin/argtest

View File

@@ -1,10 +1,10 @@
---
--
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]
tags: [sys_exec,procsyscalls,syscalls]
depends: [shell]
sys161:
ram: 4M
---

View File

@@ -2,8 +2,8 @@
name: "Close Test"
description: >
Tests sys_close by closing STDIN and a normal file.
tags: [syscalls,filesyscalls]
depends: [boot, /asst2/fs/opentest.t]
tags: [sys_close,filesyscalls,syscalls]
depends: [console,sys_open]
sys161:
ram: 512K
---

View File

@@ -3,7 +3,7 @@ name: "Factorial Test"
description:
Attempts to calculate factorial by recursive replacing the current process
with the number computed thus far.
tags: [proc, fun]
tags: [sys_exec,procsyscalls,syscalls]
depends: [shell]
sys161:
ram: 4M

View File

@@ -5,8 +5,8 @@ description: >
bytes, skips 512 bytes and writes another 512 bytes (odd steps). Seeks
back to beginning and writes the even steps. Then seeks back to the
beginning and verifies that the contents are correct.
tags: [syscalls,filesyscalls]
depends: [console, /asst2/fs/readwritetest.t,]
tags: [filesyscalls,syscalls]
depends: [console]
sys161:
ram: 512K
---

View File

@@ -2,8 +2,8 @@
name: "Fork Test"
description: >
Test that fork works.
tags: [syscalls,procsyscalls]
depends: [console,/asst2/fs/readwritetest.t]
tags: [sys_fork,procsyscalls,syscalls]
depends: [console]
sys161:
ram: 4M
---

View File

@@ -2,8 +2,8 @@
name: "Open Test"
description: >
Tests sys_open by attempting to open an existing file.
tags: [syscalls,filesyscalls]
depends: [boot]
tags: [sys_open,filesyscalls,syscalls]
depends: [console]
sys161:
ram: 512K
---

View File

@@ -2,8 +2,8 @@
name: "Read and Write Test"
description: >
Tests sys_read and sys_write by reading and writing to a file.
tags: [syscalls,filesyscalls]
depends: [/asst2/fs/opentest.t]
tags: [sys_read,sys_write,filesyscalls,syscalls]
depends: [console,sys_open]
sys161:
ram: 512K
---

View File

@@ -3,9 +3,9 @@ name: "Redirect Test"
description: >
Tests sys_dup2. Opens a file handle, then forks a new process which
manipulates the file table.
tags: [syscalls,filesyscalls]
depends: [/asst2/process/forktest.t]
tags: [sys_dup2,filesyscalls,syscalls]
depends: [console,sys_fork]
sys161:
ram: 512K
ram: 1M
---
p /testbin/redirect

View File

@@ -4,10 +4,10 @@ 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: [syscalls,procsyscalls,shell]
tags: [shell,procsyscalls,syscalls]
depends: [console]
sys161:
ram: 2M
ram: 1M
---
$ /testbin/shelltest
$ /testbin/shelltest

View File

@@ -3,9 +3,9 @@ name: "Sparsefile Test"
description: >
Tests sys_lseek by writing one byte of data after skipping the beginning of
an empty file and then attempting to read this byte.
tags: [syscalls,filesyscalls]
depends: [shell, /asst2/fs/fileonlytest.t]
tags: [sys_lseek,filesyscalls,syscalls]
depends: [shell]
sys161:
ram: 512K
ram: 1M
---
$ /testbin/sparsefile test 1048