Commit Graph

1463 Commits

Author SHA1 Message Date
Axel Dörfler
bed835af1e The TCP tester now also allows you to reorder random or specific packets.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19364 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 19:13:07 +00:00
Axel Dörfler
719aa9ff8c Decoupled receiving threads, so that the server as well as the sender get their own
receiving thread. While this steals away a test case for now (dead lock), it will
allow to reorder packets in a better way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19363 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 17:39:54 +00:00
Axel Dörfler
cc5496e34a Extended the TCP tester app a bit:
* you can now instruct it to drop specific packets
* you can now also define a round trip time for the packets
* added a "send" command to send arbitrarily sized buffers over TCP.
Not surprising, the current implementation of TCP doesn't do anything with
those (other than crashing as soon as you try to send data).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-22 16:57:22 +00:00
Axel Dörfler
a7470d6bd5 * The kernelland_emu now supports turning off debug output; tcp_tester can toggle
this option now using the "dprintf" command
* Added dump_block() function to kernelland_emu
* Added tcpdump-like output to tcp_tester for each TCP segment, lines from the
  server are red, lines from the client are black.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-20 17:38:21 +00:00
Axel Dörfler
6ff565b0d6 * Moved the private kernel locking functions into kernelland_emu.cpp because the
actual versions cannot work in userland.
* Extended the tcp_tester to be able to connect and quit connections.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-19 23:35:07 +00:00
Stephan Aßmus
c26c0b24e5 * fix build of the haiku_registrar in app_server test environment
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19321 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-18 07:18:00 +00:00
Stefano Ceccherini
3f4cc718eb Some more updates from Marc Flerackers. Text drawing should work
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-14 14:15:03 +00:00
Philippe Houdoin
2177785876 Allowed GLInfo to build for BeOS too.
Locking GL context is better, even if it's not mandatory under Be's R5 OpenGL stack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-12 15:04:52 +00:00
Stefano Ceccherini
c087e0e364 cleaned up a bit the code, shaped it into a SVG2PictureView class. Added
a window to the PictureTest which should show the svg lion, but doesn't 
work yet for some reason


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-09 22:58:09 +00:00
Jérôme Duval
b12912bead added a 'dm_tree' like test tool, ioctl based.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 20:16:55 +00:00
Axel Dörfler
e3c14348aa Some more work in progress towards a working test stack environment - if TCP would be
able to connect to itself, this should already work at this point.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 19:11:28 +00:00
Axel Dörfler
de6b43cd7c Now prints debug output in blue, so that you can easily differentiate it from other output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 19:07:38 +00:00
Axel Dörfler
0b3ee1ecc8 Added an empty (and incomplete) shell for a TCP test application. When ready, it provides
a set of commands that can be thrown at a listening and a client end of a TCP connection.
This will allow for an easier and faster implementation of the TCP module, as well as
regression tests, etc.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 15:43:20 +00:00
Axel Dörfler
669e149b7b * Fixed missing propagation of the module initialization result; before, you
could get modules whose initialization failed.
* Fixed how built-in modules are initialized.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 14:47:41 +00:00
Axel Dörfler
4313accfba libkernelland_emu.so now builds again - and now also contains khash.c.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-08 12:51:22 +00:00
Stefano Ceccherini
262fc9994c Moved PictureTest to its own folder, added some more files (WIP and not
yet 
added to the image) written by Marc Flerackers, for a SVG -> BPicture 
importer, will be used to show the SVG lion and butterfly (included in 
this commit)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 16:43:04 +00:00
Stefano Ceccherini
c140bbecd9 forgot to update this
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 16:08:07 +00:00
Stefano Ceccherini
e02e6ab8f3 renamed picture to pictureprint
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 16:05:01 +00:00
Axel Dörfler
88008dd688 Fixed overwriting the stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 15:00:05 +00:00
Axel Dörfler
a5640720a8 Fixed warning when built for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19172 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 14:21:36 +00:00
Axel Dörfler
84a3cc1e94 * Added small TCP tests written by Andrew.
* Removed a poorly written TCP test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-11-02 14:09:41 +00:00
Stefano Ceccherini
8cafa544f6 Made the PictureTest more useful: now it displays 2 views, one which
draws some stuff directly, the other draws the same stuff using a 
BPicture. This shows that BPicture doesn't support BShapes yet, and it 
has some problems with pen size.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-26 19:47:26 +00:00
Axel Dörfler
297f89345f * write_stat() should not add/update the last modification time of directories.
Reported by Robert Szeleney.
* Fixed an endian problem in write_stat() in the R5 version of BFS.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 15:21:28 +00:00
Axel Dörfler
a9831b73ed CheckInode() could find an invalid data stream for symlinks without a data stream;
the data stream area is reused as link data in this case.
Reported by Robert Szeleney.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-25 13:16:43 +00:00
Stefano Ceccherini
743fe40eba Cleaned up a bit PageFlipper sources.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-24 15:56:32 +00:00
Stefano Ceccherini
5290139c41 more stuff added to the BPicture test
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 13:37:33 +00:00
Stefano Ceccherini
38e2236402 Now the BPicture test draws a string in red. Fixed a possible crash by
initializing fPicture in the constructor.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 13:18:51 +00:00
Stefano Ceccherini
2b77c6f651 a test application for BPicture, written by Lucasz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-23 12:04:22 +00:00
Axel Dörfler
ecf0475ad0 Porting r18992 to the R5 version of BFS (and therefore, bfs_shell used to build the
Haiku image) revealed a problem with that change:
* If the root node only contained a single entry it was freed instead of just making
  it a leaf node - that could produce an invalid b+tree (could only happen with
  attribute or index trees, as directories always contain '.' and '..').


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-05 17:34:11 +00:00
Axel Dörfler
bad41d39a2 Ported r18992 from the Haiku version of BFS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-10-05 13:59:07 +00:00
Jérôme Duval
c49e0c68b0 dropped a useless arg of the KernelAddon rule, hope I don't mess anything
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18879 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-18 10:02:13 +00:00
Jérôme Duval
9e5134f9dd build udf for r5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 15:05:54 +00:00
Jérôme Duval
2ab8552e8d copied udf R5 version to tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-09-01 12:45:12 +00:00
Axel Dörfler
ffacc65107 Imported the bfs_rename() permission check fix from the Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-30 23:37:57 +00:00
Jérôme Duval
80e19d62c5 added a grist to differenciate with playway in src/bin/playsound/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-29 13:10:20 +00:00
Ingo Weinhold
9ecf9d1c1d Merge from layout management branch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 16:21:15 +00:00
Stephan Aßmus
d4962719c6 * updated script
* added test for copy bits when the view has children


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 14:13:51 +00:00
Stephan Aßmus
778e3c640d * just an update to my local playground
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-26 14:11:39 +00:00
Jérôme Duval
1d130feff7 copied dosfs R5 version to tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-23 09:12:05 +00:00
Stefano Ceccherini
9d402220eb Added a test for MenusBeginning/MenusEnded\
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-21 14:39:24 +00:00
Stefano Ceccherini
8cf2c839c5 more fork() tests. Some pass, some fail
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-18 07:24:36 +00:00
Axel Dörfler
3b46e73c2b Replaced DOS newlines with "real" ones :-)
This lets the files compile again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18526 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-17 18:16:23 +00:00
Stefano Ceccherini
278510fe87 added two tests for fork(). Both fail on waitpid().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-17 15:20:47 +00:00
Axel Dörfler
e192628c47 * In case of an error, status is always -1, only errno shows the actual error.
* Added test mode for UDP broadcasting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 14:56:16 +00:00
Axel Dörfler
c6bfe05b1e Added some UDP test apps from Oliver - removed lots of warnings, and fixed one
bug in all apps: status was defined unsigned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-08-11 14:48:24 +00:00
Stephan Aßmus
064ad96310 * removed another local and obsolete test from the jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:42:48 +00:00
Stephan Aßmus
98bad22a2b * fixes build... completely forgot about this one :-)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:40:49 +00:00
Stephan Aßmus
9813f97ff9 added a test showing the R5 bug that ignores the internal coordinate
system given by BBitmap::Bounds() when drawing bitmaps (Haiku copies
this bug)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-07-04 09:32:48 +00:00
Ingo Weinhold
2c38311d40 * Fixed libbe_test build for install-test-apps. A few changes are not
in my branch, but in the main trunk. That should do no harm though.
* Made LayoutTest1 build for libbe_test and added it to the
  install-test-apps target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-30 13:48:36 +00:00
Ingo Weinhold
3bf5b314a9 A place for testing the layout management stuff.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-29 13:28:58 +00:00