Merge branch 'untested' of git://git.devl.org/git/malvira/mc1322x-tests into untested
This commit is contained in:
commit
d47aa338ec
|
@ -34,8 +34,6 @@ if($filename eq '') {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
print @ARGV;
|
|
||||||
|
|
||||||
my $ob = Device::SerialPort->new ($term) or die "Can't start $term\n";
|
my $ob = Device::SerialPort->new ($term) or die "Can't start $term\n";
|
||||||
# next test will die at runtime unless $ob
|
# next test will die at runtime unless $ob
|
||||||
|
|
||||||
|
@ -64,7 +62,7 @@ while(1) {
|
||||||
$test = 'CONNECT';
|
$test = 'CONNECT';
|
||||||
}
|
}
|
||||||
|
|
||||||
until($ret eq $test) {
|
until($ret =~ /$test$/) {
|
||||||
($count,$c) = $ob->read(1);
|
($count,$c) = $ob->read(1);
|
||||||
if ($count == 0) {
|
if ($count == 0) {
|
||||||
print '.';
|
print '.';
|
||||||
|
@ -107,9 +105,10 @@ print "done sending files.\n";
|
||||||
|
|
||||||
print "sending " ;
|
print "sending " ;
|
||||||
print @ARGV;
|
print @ARGV;
|
||||||
print "\n";
|
print ",\n";
|
||||||
|
|
||||||
$ob->write(@ARGV);
|
$ob->write(@ARGV);
|
||||||
|
$ob->write(',');
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
print $ob->input;
|
print $ob->input;
|
||||||
|
|
Loading…
Reference in a new issue