b48df8e051caeb675deacd104966b6ebab17dfd2 |
|
29-Oct-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
deps: Implement fakesyscalls fakesyscalls is a new library that currently fakes out the 'open' and 'creat' syscalls. It can be used to redirect the open syscall for a file to another file specified using the environment variable FILE_REDIRECTIONS_PRELOAD. BUG=chromium:297876 TEST=Manually test that file redirections work properly. Change-Id: If5bcb7fd364823b4a0a458719d3e024bd1db540b Reviewed-on: https://chromium-review.googlesource.com/175212 Reviewed-by: Prathmesh Prabhu <pprabhu@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/deps/fakegudev/src/Makefile
|
068fea5040e7dbc38d51bc69645fa28d06dd5acb |
|
29-Oct-2013 |
Prathmesh Prabhu <pprabhu@chromium.org> |
deps: Improve environment variable parsing in fakegudev. fakegudev uses an environment variable to obtain the fake GUDevDevices to export. The logic to parse this variable was very limited. After this CL: - Multiple FakeGUdev devices can be specified delimited by :: - Properties can now escape a ':' with '\'. Earlier, it was impossible for a property to use ':'. This is needed by many sysfs paths. This CL also adds debugging capabilities in the library. BUG=chromium:297876 TEST=Manually mock out diverse udev devices. Change-Id: I27b689460e393188191ddb184b53ee863f3daf33 Reviewed-on: https://chromium-review.googlesource.com/175211 Reviewed-by: Ben Chan <benchan@chromium.org> Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org> Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
/external/autotest/client/deps/fakegudev/src/Makefile
|
c2a8f8b5d56157355034375dae1b29df78e1d357 |
|
01-Sep-2011 |
Nathan Williams <njw@chromium.org> |
Add a test framework for ModemManager and use it to test SMS parsing. The test framework includes a tool to set up a fake network device (using the tun interface), a fake modem (using ptys, a regexp engine, and tweaking of the regexp responses via DBus), and a library that overrides the GUdev library interfaces to give us complete control over what devices and device properties the program under test sees. BUG=chromium-os:20096 TEST=self Change-Id: I99af909ae381c278c66067acd9d689f24c40f4ab Reviewed-on: http://gerrit.chromium.org/gerrit/7814 Commit-Ready: Nathan J. Williams <njw@chromium.org> Reviewed-by: Nathan J. Williams <njw@chromium.org> Tested-by: Nathan J. Williams <njw@chromium.org>
/external/autotest/client/deps/fakegudev/src/Makefile
|