diff --git a/NOTES.txt b/NOTES.txt index dcf314c75..0767f67f3 100644 --- a/NOTES.txt +++ b/NOTES.txt @@ -2,8 +2,22 @@ Notes for TIP WiFi testing related topics. # To pull the latest upstream lanforge-scripts repo into the wlan-lanforge-scripts -# repository, use this or similar command. +# repository, use this or similar command. This action will probably only be done +# by whoever is curating the wlan-lanforge-scripts repository. git pull git@github.com:greearb/lanforge-scripts.git +# Testbed setup + +Test-Controller system must be able to ssh into the LANforge system w/out a password +(use authorized_keys ssh setup) as both user lanforge and user root. + +Test-Controller will need to be able to access the Cloud-SDK machines. Not sure +exact details on this yet. + +For each new test-bed hardware config (including LANforge and AP hardware types and radio +layouts), a new directory in testbeds/ should be created, and populated with test-bed specific +LANforge scenario and test configuration files. See 'ben-home' for examples. +See lanforge/lanforge-scripts/gui/README.txt for details on ways to grab the appropriate text, +but you will also need familiarity with LANforge to accomplish this easily. diff --git a/lanforge/TIP_README.txt b/lanforge/TIP_README.txt index 4743a0849..71e77770d 100644 --- a/lanforge/TIP_README.txt +++ b/lanforge/TIP_README.txt @@ -1,3 +1,10 @@ -The wlan-lanforge-scripts directory will be coppied to this location. +The wlan-lanforge-scripts directory will be coppied to this location by the +../sync_repos.bas command. + +Changes for the wlan-lanforge-scripts repository should be sent in git-format +form if possible, to greearb@candelatech.com. These will then be applied to +the upstream lanforge-scripts repository if appropriate, and then pulled into +the TIP wlan-lanforge-scripts repo. + Do not add any additional files to this directory without good reason. diff --git a/testbeds/ben-home/run_basic.bash b/testbeds/ben-home/run_basic.bash index ad51af85c..69f63c8f1 100755 --- a/testbeds/ben-home/run_basic.bash +++ b/testbeds/ben-home/run_basic.bash @@ -34,4 +34,16 @@ DEFAULT_ENABLE=0 DO_SHORT_AP_STABILITY_RESET=1 ./basic_regression.bash cd - +if [ ! -d $RSLTS_DIR ] +then + echo "Test did not run as expected, $RSLTS_DIR not found." + mkdir -p $RSLTS_DIR +fi + +if [ -f ${MY_TMPDIR}/basic_regression_log.txt ] +then + echo "Found ${MY_TMPDIR}/basic_regression_log.txt, moving into $RSLTS_DIR" + mv ${MY_TMPDIR}/basic_regression_log.txt $RSLTS_DIR/ +fi + echo "See results in $RSLTS_DIR" diff --git a/testbeds/ben-home/test_bed_cfg.bash b/testbeds/ben-home/test_bed_cfg.bash index a27db1f7c..02e50275d 100644 --- a/testbeds/ben-home/test_bed_cfg.bash +++ b/testbeds/ben-home/test_bed_cfg.bash @@ -27,7 +27,7 @@ STABILITY_DURATION=${STABILITY_DURATION:-600} TEST_RIG_ID=${TEST_RIG_ID:-Ben-Home-OTA} # DUT configuration -DUT_FLAGS=${DUT_FLAGS:-22} # AP, WPA-PSK +DUT_FLAGS=${DUT_FLAGS:-0x22} # AP, WPA-PSK DUT_FLAGS_MASK=${DUT_FLAGS_MASK:-0xFFFF} DUT_SW_VER=${DUT_SW_VER:-OpenWrt-Stock} DUT_HW_VER=Linksys-MR8300