Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Jukka Jylänki be98952074 Fix test_unistd_access and test_unistd_truncate on Windows. Both tests failed at the end on cleanup stage, when the test left behind files with readonly bit set, and shutil.rmtree() fails on Windows if any of the files are read-only. 2013-10-21 22:20:25 +03:00
Anthony Pesch 9eaadf56f5 - updated several unistd tests to test against NODEFS 2013-09-27 00:46:17 -07:00
Michael J. Bishop ee9d510297 Removed old test case and put a test case in a more appropriate area.
tests/unistd/io.*

---

Revert "Added to the test_files test to ensure the pread() functionality."

This reverts commit 2ed2fb5df3.
2013-09-18 15:44:58 -04:00
Bruce Mitchener a9d0a7f981 Update to work with new libc headers. 2013-09-13 10:07:02 -07:00
Anthony Pesch 9ba9554183 updated unistd and fs_base tests to use new FS APIs 2013-09-03 22:00:02 -07:00
Ranger Harke 8b4db69024 Update remaining tests to use registerDevice/mkdev 2013-08-28 16:11:13 -04:00
Ranger Harke 2ce6e79484 Update test_unistd_io to use registerDevice/mkdev 2013-08-28 16:11:13 -04:00
Ranger Harke 05b1fe0a48 Fix permissions set by FS.createDevice
The read and write permission bits were reversed. A test has been added to
ensure that this works.
2013-08-28 15:38:29 -04:00
Bruce Mitchener 2cd8943f8a Adding missing output to verify it is correct. 2013-08-23 15:13:15 +07:00
Bruce Mitchener fd56e35e8c Include signal.h when using signals. 2013-08-04 08:51:04 +08:00
Anthony Pesch 13b8be215d - rmdir / unlink no longer follow the final symlink
- rmdir / unlink no longer check write permission on the found object, but on its parent
 - rmdir should return EBUSY when path matches the root / cwd
 - unlinking a directory should return EPERM according to POSIX (EISDIR is a Linux convention)
2013-07-15 21:22:11 -07:00
Anthony Pesch 739c8dade7 - moved std stream isTerminal property to object so all streams can see
- made ttyname use isatty to check if fd is tty
 - hardcoded /dev/tty as tty name is ttyname_r
 - fixed and changed isatty and ttyname tests to run natively
2013-07-14 15:12:49 -07:00
Anthony Pesch ab5249c775 Updated tests to reflect new error values 2013-06-04 11:39:26 -07:00
Alon Zakai 6ee3943a67 update test_unistd_misc 2013-04-14 18:54:31 -07:00
Arlo Breault 294bdda3b3 implement setgroups 2013-04-09 17:53:10 -07:00
Alon Zakai 69c5aeb644 fix test_unistd_io 2012-03-19 14:41:05 -07:00
Alon Zakai ff64e1dbd6 fix test_unistd_isatty 2012-03-10 23:12:38 -08:00
Alon Zakai e965f257cc fix unistd_dup test 2011-09-25 19:07:09 -07:00
max99x 1ca0ab32d4 Updated the expected output of test_unistd_isatty. 2011-08-27 06:03:16 +03:00
max99x 16f60de7f2 Implemented most of stdio.h and updated all references. 2011-07-28 14:01:08 +03:00
max99x 211884f299 Fixed unistd sleep test to be more flexible. 2011-07-24 05:26:25 +03:00
max99x 136756f734 Added unistd tests; fixed a lot of unistd bugs and deficiencies. 2011-07-23 05:49:48 +03:00