force terminal resolution when running tests

This commit is contained in:
Jorge Morante 2016-10-17 23:42:39 +02:00
parent 5aec2d98cf
commit 3b3fcdf0b5
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@ cat /dev/null > $SPEC_OUTPUT_LOG
cat /dev/null > $TEST_LOG
if [[ "$target" == "within-vm" ]]; then
stty cols 80
stty rows 24
fail_count=0
for test_file in $(ls $CURRENT_DIR/specs/*_spec.exp); do
result="* $test_file ..."

View File

@ -16,7 +16,7 @@ send "r";
echo_yanked;
expect {
"yanked text is 192.168.1.33" { exit_ok }
"yanked text is 10.0.3.1" { exit_ok }
timeout { exit_fail }
}