Posix: Changed PreflightCheck to read Vdev

PreflightCheck was failing because it was trying to read actual
devices instad of virtual devices.

ADCSIM had a LINUXTEST ifdef that was removed.

posix_run.sh was using the wrong path

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-21 17:14:52 -07:00
parent f3b5076d70
commit 19162ba5be
7 changed files with 355 additions and 9 deletions
@@ -277,10 +277,8 @@ adcsim_main(int argc, char *argv[])
int ret = 0;
if (g_adc == nullptr) {
#ifdef CONFIG_ARCH_BOARD_LINUXTEST
/* XXX this hardcodes the default channel set for LINUXTEST - should be configurable */
/* XXX this hardcodes the default channel set for POSIXTEST - should be configurable */
g_adc = new ADCSIM((1 << 10) | (1 << 11) | (1 << 12) | (1 << 13));
#endif
if (g_adc == nullptr) {
warnx("couldn't allocate the ADCSIM driver");