summaryrefslogtreecommitdiff
path: root/user/usertests.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-04fix copyout() to refuse to write a read-only pageRobert Morris1-8/+10
2022-08-25Separate tests in slow and quick. The slow tests run xv6 out ofFrans Kaashoek1-251/+278
memory, out of disk space, or test big directories. Support -q option to run only the quick tests, which saves about 7mins. Clean up driver by removing duplicated code.
2022-08-23tolerate running out of inodesRobert Morris1-5/+40
2022-08-23Rename test to textwriteFrans Kaashoek1-2/+2
2022-08-23Merge branch 'riscv' into uvm-permFrans Kaashoek1-0/+35
2022-08-23tolerate out of disk when creating . and .. in mkdir()Robert Morris1-0/+5
2022-08-23don't panic if out of disk space when extending a directory.Robert Morris1-0/+30
2022-08-15Compile user binary to map text without W and data without XFrans Kaashoek1-3/+28
Use the flags in elf header to set vm permissions Modify pgbug() so that usertests text segment is without W Add test to check app cannot write text segment
2022-08-15Run tests in the order in which they appear in the fileFrans Kaashoek1-39/+41
2022-08-10tolerate running out of disk blocksRobert Morris1-1/+45
2021-09-01Delete unused code (Jude Rich <[email protected]>)Frans Kaashoek1-8/+0
2021-08-31fix a invalid printf format stringflespark1-1/+1
2021-08-31fix typos in user/usertest.c & kernel/log.cFIXED-TERM Chen Ian (BT-CO/QMM5)1-2/+2
2021-08-06check that there's no panic if user process tries to write >= MAXVARobert Morris1-0/+25
2021-07-02sync usertestsRobert Morris1-0/+11
2021-07-02keep usertests.c in sync with riscv-sol-2020Robert Morris1-0/+27
2020-11-05xFrans Kaashoek1-1/+1
2020-11-05kill/status testFrans Kaashoek1-0/+31
2020-10-05avoid deadlock by disk intr acking interrupt first, then processing ringRobert Morris1-4/+3
2020-10-05often causes deadlock after a few minutesRobert Morris1-2/+58
2020-10-03Add s to many printf statements that expect it (thanks Cece Chu)Frans Kaashoek1-21/+19
Add dirtest to the list of tests
2020-10-03When either_copyin/out fails, return an error from write/readFrans Kaashoek1-0/+48
Add a test to check that read/write return an error
2020-08-28Remove obselete ifdef that shouldn't have been there everFrans Kaashoek1-4/+0
2020-08-28fix usertests to pass all the riscv-sol-fall20 solutions.Robert Morris1-22/+97
2020-08-21touch sbrk()-allocated memory to make sure it existsRobert Morris1-2/+14
2020-08-21usertest for exec() out of memory recoveryRobert Morris1-0/+37
and fix a few exec() bugs
2020-08-17handle another out-of-memory in fork(). the policy here is not consistent,Robert Morris1-2/+6
since other calls (e.g. exec()) panic on out of memory.
2020-08-10test string system call arguments that cross over the end of the last page.Robert Morris1-0/+53
2020-08-10test copyinstr()'s handling of the terminating nullRobert Morris1-2/+64
2020-08-10streamline copyin/copyout code in usertestsRobert Morris1-74/+83
fix bugs in read/write return values when there's an error
2020-08-10test pointer checking in copyin, copyout, copyinstrRobert Morris1-0/+92
2020-08-10modify each page in usertests countfree()Robert Morris1-1/+4
get rid of static for walk() and freewalk()
2020-08-10make "echo hello > x" truncate file x.Robert Morris1-0/+138
2019-11-06grind: run parallel system calls foreverRobert Morris1-5/+9
2019-10-28usertests -c to repeat tests foreverRobert Morris1-16/+80
detect memory leaks no more "already ran user tests"
2019-10-27nitsRobert Morris1-2/+2
2019-09-23bug fix: reparent() sometimes deadlockedRobert Morris1-16/+39
bug fix: exit() sometimes released a different parent lock than it acquired usertests
2019-09-21Stress copyin for the full allocated page (good for lazy lab).Frans Kaashoek1-1/+1
2019-09-21don't leak memory if exec() arguments are invalid.Robert Morris1-1/+19
2019-09-21Refactor big sbrk test in smaller, easier-to-understand testsFrans Kaashoek1-21/+44
2019-09-20Not much: factor sbrksimple from big sbrktestFrans Kaashoek1-11/+21
2019-09-20don't leak a file system block if the buf argument to write is invalidRobert Morris1-0/+39
and a usertest
2019-09-20yet another sbrk() bug fix, and usertestRobert Morris1-3/+22
2019-09-20don't panic if a program frees all its memory with sbrk().Robert Morris1-0/+40
if a program sbrk()'s to a non-page-boundary, don't free that page. corresponding usertests.
2019-09-20more incorrect cast to uintRobert Morris1-3/+6
2019-09-20fix a potential kernel crashRobert Morris1-0/+13
add a regression test for it
2019-09-19print name at start of testFrans Kaashoek1-3/+4
2019-09-19a commentFrans Kaashoek1-1/+3
2019-09-19make exec test self containedFrans Kaashoek1-11/+62
2019-09-19Standarize the way tests are run and report errorsFrans Kaashoek1-437/+381
Support running one test, by specifying the name as a command argument to usertests