]> Zhao Yanbai Git Server - minix.git/commit
swifi: various improvements 93/3193/1
authorDavid van Moolenbroek <david@minix3.org>
Tue, 2 Oct 2012 15:49:23 +0000 (15:49 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Wed, 23 Sep 2015 12:03:12 +0000 (12:03 +0000)
commit875abb872412bde4d3ba5da66423f55431e19dcf
tree07bd60f9cf2a5a6246e27b40799b2d5804fddcd0
parent32b187558bc90ac8c1b03d1fad6fad3019a3fe8f
swifi: various improvements

- no longer inject fewer faults than instructed;
- no longer apply a limit on the number of injected faults;
- refactory to allow for random faults (type 99);
- also allow for stop faults (type 50);
- massive dead code cleanup;
- move outdated test cruft into tests/ subdirectory; it is kept only
  as an example of how to use swifi.

Change-Id: I8a3cb71902dfaadb7bf785723b917307db83d0d5
25 files changed:
minix/commands/swifi/Makefile
minix/commands/swifi/db_disasm.c
minix/commands/swifi/db_sym.c
minix/commands/swifi/extra.c
minix/commands/swifi/extra.h
minix/commands/swifi/fault_model.c
minix/commands/swifi/random.c [deleted file]
minix/commands/swifi/swifi-2.4.18-a-patch [deleted file]
minix/commands/swifi/swifi-ksyms.c [deleted file]
minix/commands/swifi/swifi-user.h [deleted file]
minix/commands/swifi/swifi.h
minix/commands/swifi/systest.c
minix/commands/swifi/tests/do_swifi [moved from minix/commands/swifi/do_swifi with 64% similarity]
minix/commands/swifi/tests/do_swifi_bug1 [moved from minix/commands/swifi/do_swifi_bug1 with 65% similarity]
minix/commands/swifi/tests/rnd.c [moved from minix/commands/swifi/rnd.c with 98% similarity]
minix/commands/swifi/tests/rs.restart_imm [moved from minix/commands/swifi/rs.restart_imm with 100% similarity]
minix/commands/swifi/tests/run_swifi [moved from minix/commands/swifi/run_swifi with 96% similarity]
minix/commands/swifi/tests/run_swifi-x [moved from minix/commands/swifi/run_swifi-x with 91% similarity]
minix/commands/swifi/tests/run_t1 [moved from minix/commands/swifi/run_t1 with 97% similarity]
minix/commands/swifi/tests/run_t1a [moved from minix/commands/swifi/run_t1a with 86% similarity]
minix/commands/swifi/tests/run_t1b [moved from minix/commands/swifi/run_t1b with 100% similarity]
minix/commands/swifi/tests/run_t2 [moved from minix/commands/swifi/run_t2 with 97% similarity]
minix/commands/swifi/tests/run_t2a [moved from minix/commands/swifi/run_t2a with 86% similarity]
minix/commands/swifi/tests/run_t2b [moved from minix/commands/swifi/run_t2b with 100% similarity]
minix/commands/swifi/tests/socket.c [moved from minix/commands/swifi/socket.c with 96% similarity]