commit | 4758cb19e6ffad42ba3b026938f9f63e85ac6d9f | [log] [tgz] |
---|---|---|
author | Cyril Hrubis <chrubis@suse.cz> | Tue Apr 23 20:41:01 2013 +0200 |
committer | Cyril Hrubis <chrubis@suse.cz> | Tue Apr 23 20:47:35 2013 +0200 |
tree | 770ab6b87d998dd74e266f18c529f92ea4cbbd1e | |
parent | d354733e75178bc1a33a91eff075dfecaf2dce57 [diff] |
syscalls/dup06: Fixes. The testcases had several problems: * Wasn't using tst_tmpdir() and created files in CWD * The test wasn't closing the filedescriptors and so the test has failed on second and any other run (-i or -I) * The fail flag was set only once at the start and not reset along the way, so after one failure the rest of the tests would be marked as failed * etc. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>