summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r--testsuites/psxtests/psxfile01/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c
index ef0d737d44..bbfaafdace 100644
--- a/testsuites/psxtests/psxfile01/test.c
+++ b/testsuites/psxtests/psxfile01/test.c
@@ -238,6 +238,7 @@ int main(
status = rmdir ("/fred");
assert (status == -1);
+ assert( errno == ENOENT );
status = mknod( "/dev/test_console", S_IFCHR, 0LL );
assert( !status );