diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-17 21:23:19 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-07-17 21:23:19 +0000 |
commit | 05480bb8bec1c43cf2ff6447bb34d8d901d1ebb8 (patch) | |
tree | 8b32e8dbeee7acd7934ea6ff2892cf166f53a6c3 /testsuites/psxtests | |
parent | 2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-05480bb8bec1c43cf2ff6447bb34d8d901d1ebb8.tar.bz2 |
2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: truncate on /dev/console now works.
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index c7e49dbccc..25a2c38928 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com> + + * psxfile01/test.c: truncate on /dev/console now works. + 2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com> * psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack 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 ); |