tests: Even more work on error handling

realpath: Fixing undefined behaviour in the second test. If the call fails the resolved_name argument cannot be used for error checking because its state is undefined by SUSv2.
pipe: Changing the order of close and write error handling code. Errors in close could overwrite errno after write errors, returning incorrect error messages.
gmtime: Removed duplicate checks
Other fixes for fseek, rename, mktime, putwchar
4 jobs for cleanup in 13 minutes and 1 second (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #9267
build:linux

00:05:20

passed #9268
build:redox

00:06:41

 
  Test
failed #9270
allowed to fail
fmt

00:00:44

failed #9269
test:linux

00:06:20

 
Name Stage Failure
failed
test:linux Test
--- gen/stdio/fseek.stdout	2019-02-24 21:28:02.254430090 +0000
+++ expected/stdio/fseek.stdout 2019-02-19 18:59:40.986222767 +0000
@@ -1,2 +1,2 @@
Line 2
-ftello: 21
+ftell: 21
Makefile:141: recipe for target 'verify' failed
make: *** [verify] Error 1
ERROR: Job failed: exit code 1
failed
fmt Test
 // other. This will test that the current system is compatible with the current binary
#[no_mangle]
pub unsafe fn relibc_verify_host() {
- if ! Sys::verify() {
+ if !Sys::verify() {
intrinsics::abort();
}
}
ERROR: Job failed: exit code 1