summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2022-08-23 11:21:26 -0400
committerFrans Kaashoek <[email protected]>2022-08-23 11:21:26 -0400
commit948cfbdb1ff8af3924fe149960824d601df13163 (patch)
treed131b3ed6968df63a625d55efee1f1e9b8948b92 /user
parent858fc68bdfcbce2f5367220a68132ea30c900f09 (diff)
downloadxv6-labs-948cfbdb1ff8af3924fe149960824d601df13163.tar.gz
xv6-labs-948cfbdb1ff8af3924fe149960824d601df13163.tar.bz2
xv6-labs-948cfbdb1ff8af3924fe149960824d601df13163.zip
Rename test to textwrite
Diffstat (limited to 'user')
-rw-r--r--user/usertests.c4
1 files changed, 2 insertions, 2 deletions
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},
};