Robert Morris
|
d940fd122d
|
don't leak memory if exec() arguments are invalid.
|
2019-09-21 04:54:25 -04:00 |
|
Frans Kaashoek
|
6b79ee69b7
|
Refactor big sbrk test in smaller, easier-to-understand tests
|
2019-09-21 02:07:24 -04:00 |
|
Frans Kaashoek
|
ee67dbd211
|
Not much: factor sbrksimple from big sbrktest
|
2019-09-20 17:08:13 -04:00 |
|
Robert Morris
|
7c7ed20822
|
don't leak a file system block if the buf argument to write is invalid
and a usertest
|
2019-09-20 13:09:26 -04:00 |
|
Robert Morris
|
e1a37303c8
|
yet another sbrk() bug fix, and usertest
|
2019-09-20 12:13:57 -04:00 |
|
Robert Morris
|
4de161f973
|
don't panic if a program frees all its memory with sbrk().
if a program sbrk()'s to a non-page-boundary, don't free that page.
corresponding usertests.
|
2019-09-20 11:35:27 -04:00 |
|
Robert Morris
|
ca30cac702
|
more incorrect cast to uint
|
2019-09-20 10:27:03 -04:00 |
|
Robert Morris
|
402e7b5605
|
fix a potential kernel crash
add a regression test for it
|
2019-09-20 09:41:03 -04:00 |
|
Frans Kaashoek
|
ba1c42849a
|
print name at start of test
|
2019-09-19 15:39:05 -04:00 |
|
Frans Kaashoek
|
25e6803e17
|
a comment
|
2019-09-19 15:22:45 -04:00 |
|
Frans Kaashoek
|
3f6e372a29
|
make exec test self contained
|
2019-09-19 15:14:52 -04:00 |
|
Frans Kaashoek
|
f6a37c17f2
|
Standarize the way tests are run and report errors
Support running one test, by specifying the name as a command argument to usertests
|
2019-09-19 06:58:28 -04:00 |
|
Robert Morris
|
35010f0d0f
|
error exit status is 1
|
2019-09-11 10:04:40 -04:00 |
|
Frans Kaashoek
|
7e6c37e67e
|
Support exit status for exit/wait
One test case for returning a exit status
Passes usertests, but haven't used it to simplify tests
|
2019-09-10 12:30:10 -04:00 |
|
Robert Morris
|
fc337af2b6
|
fix a grep bug
|
2019-09-05 16:50:55 -04:00 |
|
Robert Morris
|
c0beeccb1b
|
have echo use FD 1 for clarity
|
2019-09-04 10:12:53 -04:00 |
|
Robert Morris
|
64b93d175a
|
user printf(1 -> printf(
|
2019-08-27 13:13:03 -04:00 |
|
Frans Kaashoek
|
a3f6d9fd1e
|
cow moved to xv6-riscv-fall19
|
2019-08-26 21:16:33 -04:00 |
|
Frans Kaashoek
|
c612d452fd
|
validateint doesn't test something interesting on RISC-V; delete it.
|
2019-08-20 13:04:12 -04:00 |
|
Frans Kaashoek
|
b564fca246
|
Rationalize some constants in usertests
|
2019-08-20 12:58:00 -04:00 |
|
Robert Morris
|
d96a8c5661
|
add alarmtest.c to the repository
they don't have to modify alarmtest.c, so we can use the
original version to test, to make it harder to cheat.
|
2019-08-05 02:04:44 -04:00 |
|
Robert Morris
|
4e62de64cd
|
fix an exit/exit deadlock -> one more locking protocol violation
increase timer rate from 1/second to 10/second
|
2019-07-25 06:30:49 -04:00 |
|
Frans Kaashoek
|
0387e2156f
|
Add a few sbrktest for lazy allocatioin lab
|
2019-07-24 08:37:43 -04:00 |
|
Robert Morris
|
54178ad94d
|
simplify kernel mapping calls
|
2019-07-23 12:17:17 -04:00 |
|
Frans Kaashoek
|
62091abae9
|
Test whether writing below stack fails
|
2019-07-22 18:08:52 -04:00 |
|
Robert Morris
|
7797a38423
|
another test, to help with locking exercises
|
2019-07-11 05:41:59 -04:00 |
|
Frans Kaashoek
|
2f22a3ed6a
|
Merge branch 'riscv-proc' into riscv
|
2019-07-08 15:50:06 -04:00 |
|
Robert Morris
|
62313be582
|
another fork test
|
2019-07-07 06:39:31 -04:00 |
|
Robert Morris
|
75b0c6fc91
|
back-port fork/exit/exit tests to xv6-riscv
|
2019-07-05 12:33:26 -04:00 |
|
Robert Morris
|
be88befed7
|
two exit/exit tests
|
2019-07-05 11:44:51 -04:00 |
|
Frans Kaashoek
|
fab5e7c1de
|
Make size in stat.h be a uint64
Supporting print long using %l (a bit of cheat)
Modify ls to print size using %l
We should probably update size in inode too.
|
2019-07-04 08:57:23 -04:00 |
|
Robert Morris
|
f59c1bf1d8
|
try to continue from walk() failing to allocate a page-table page
|
2019-07-02 11:45:06 -04:00 |
|
Robert Morris
|
1540c8b15a
|
COW tests
|
2019-07-02 11:04:35 -04:00 |
|
Robert Morris
|
abfe9999f4
|
have fork() fail, not panic, if not enough phys mem
|
2019-07-01 17:46:06 -04:00 |
|
Robert Morris
|
18e76a6c47
|
sbrk() returns a pointer, so it should be 64 bits
|
2019-07-01 17:01:50 -04:00 |
|
Robert Morris
|
5753553213
|
separate source into kernel/ user/ mkfs/
|
2019-06-11 09:57:14 -04:00 |
|