UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
usertests.c File Reference
#include "param.h"
#include "types.h"
#include "stat.h"
#include "user.h"
#include "fs.h"
#include "fcntl.h"
#include "syscall.h"
#include "traps.h"
#include "memlayout.h"

Go to the source code of this file.

Macros

#define BIG   (100*1024*1024)
 

Functions

void iputtest (void)
 
void exitiputtest (void)
 
void openiputtest (void)
 
void opentest (void)
 
void writetest (void)
 
void writetest1 (void)
 
void createtest (void)
 
void dirtest (void)
 
void exectest (void)
 
void pipe1 (void)
 
void preempt (void)
 
void exitwait (void)
 
void mem (void)
 
void sharedfd (void)
 
void fourfiles (void)
 
void createdelete (void)
 
void unlinkread (void)
 
void linktest (void)
 
void concreate (void)
 
void linkunlink ()
 
void bigdir (void)
 
void subdir (void)
 
void bigwrite (void)
 
void bigfile (void)
 
void fourteen (void)
 
void rmdot (void)
 
void dirfile (void)
 
void iref (void)
 
void forktest (void)
 
void sbrktest (void)
 
void validateint (int *p)
 
void validatetest (void)
 
void bsstest (void)
 
void bigargtest (void)
 
void fsfull ()
 
unsigned int rand ()
 
int main (int argc, char *argv[])
 

Variables

char buf [8192]
 
char name [3]
 
char * echoargv [] = { "echo", "ALL", "TESTS", "PASSED", 0 }
 
int stdout = 1
 
char uninit [10000]
 
unsigned long randstate = 1
 

Macro Definition Documentation

#define BIG   (100*1024*1024)

Function Documentation

void bigargtest ( void  )

Definition at line 1613 of file usertests.c.

void bigdir ( void  )

Definition at line 893 of file usertests.c.

void bigfile ( void  )

Definition at line 1148 of file usertests.c.

void bigwrite ( void  )

Definition at line 1119 of file usertests.c.

void bsstest ( void  )

Definition at line 1595 of file usertests.c.

void concreate ( void  )

Definition at line 765 of file usertests.c.

void createdelete ( void  )

Definition at line 584 of file usertests.c.

void createtest ( void  )

Definition at line 245 of file usertests.c.

void dirfile ( void  )

Definition at line 1284 of file usertests.c.

void dirtest ( void  )

Definition at line 267 of file usertests.c.

void exectest ( void  )

Definition at line 294 of file usertests.c.

void exitiputtest ( void  )

Definition at line 43 of file usertests.c.

void exitwait ( void  )

Definition at line 405 of file usertests.c.

void forktest ( void  )

Definition at line 1380 of file usertests.c.

void fourfiles ( void  )

Definition at line 518 of file usertests.c.

void fourteen ( void  )

Definition at line 1204 of file usertests.c.

void fsfull ( )

Definition at line 1648 of file usertests.c.

void iputtest ( void  )

Definition at line 18 of file usertests.c.

void iref ( void  )

Definition at line 1344 of file usertests.c.

void linktest ( void  )

Definition at line 702 of file usertests.c.

void linkunlink ( )

Definition at line 858 of file usertests.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 1707 of file usertests.c.

void mem ( void  )

Definition at line 428 of file usertests.c.

void openiputtest ( void  )

Definition at line 85 of file usertests.c.

void opentest ( void  )

Definition at line 119 of file usertests.c.

void pipe1 ( void  )

Definition at line 306 of file usertests.c.

void preempt ( void  )

Definition at line 359 of file usertests.c.

unsigned int rand ( )

Definition at line 1700 of file usertests.c.

void rmdot ( void  )

Definition at line 1245 of file usertests.c.

void sbrktest ( void  )

Definition at line 1415 of file usertests.c.

void sharedfd ( void  )

Definition at line 465 of file usertests.c.

void subdir ( void  )

Definition at line 935 of file usertests.c.

void unlinkread ( void  )

Definition at line 657 of file usertests.c.

void validateint ( int *  p)

Definition at line 1550 of file usertests.c.

void validatetest ( void  )

Definition at line 1563 of file usertests.c.

void writetest ( void  )

Definition at line 139 of file usertests.c.

void writetest1 ( void  )

Definition at line 188 of file usertests.c.

Variable Documentation

char buf[8192]

Definition at line 11 of file usertests.c.

char* echoargv[] = { "echo", "ALL", "TESTS", "PASSED", 0 }

Definition at line 13 of file usertests.c.

char name[3]

Definition at line 12 of file usertests.c.

unsigned long randstate = 1

Definition at line 1698 of file usertests.c.

int stdout = 1

Definition at line 14 of file usertests.c.

char uninit[10000]

Definition at line 1593 of file usertests.c.