diff --git a/user/usertests.c b/user/usertests.c index 7c31013..23a5048 100644 --- a/user/usertests.c +++ b/user/usertests.c @@ -2510,7 +2510,7 @@ stacktest(char *s) // check that writes to text segment fault void -texttest(char *s) +textwrite(char *s) { int pid; int xstatus; @@ -2977,6 +2977,7 @@ main(int argc, char *argv[]) {bigargtest, "bigargtest"}, {argptest, "argptest"}, {stacktest, "stacktest"}, + {textwrite, "textwrite"}, {pgbug, "pgbug" }, {sbrkbugs, "sbrkbugs" }, {sbrklast, "sbrklast"}, @@ -2985,7 +2986,6 @@ main(int argc, char *argv[]) {badarg, "badarg" }, {execout, "execout"}, {diskfull, "diskfull"}, - {texttest, "texttest"}, { 0, 0}, };