diff options
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c index 6ab6366210..cae6a4b03d 100644 --- a/testsuites/psxtests/psxfile01/test.c +++ b/testsuites/psxtests/psxfile01/test.c @@ -481,7 +481,7 @@ int main( /* try to truncate the console and see what happens */ status = truncate( "/dev/console", 40 ); - assert(status == -1 ); + assert( status == 0 ); puts( "truncate /tmp/j to length of 0" ); status = truncate( "/tmp/j", 0 ); |