chrpinedo / rancid-cisco-sb

rancid-cisco-sb
26 stars 25 forks source link

Travis CI is falling for csblogin #11

Closed chrpinedo closed 8 years ago

chrpinedo commented 8 years ago

There could be a problem with csblogin because it is failing in Travis CI https://travis-ci.org/chrpinedo/rancid-cisco-sb/jobs/80992695.

perl -c src/csblogin
Semicolon seems to be missing at src/csblogin line 60.
Number found where operator expected at src/csblogin line 63, near "do_command 0"
    (Do you need to predeclare do_command?)
Semicolon seems to be missing at src/csblogin line 63.
Semicolon seems to be missing at src/csblogin line 65.
Semicolon seems to be missing at src/csblogin line 68.
elseif should be elsif at src/csblogin line 74.
elseif should be elsif at src/csblogin line 76.
String found where operator expected at src/csblogin line 83, near "send_error "\nError: could not exec id: $reason\n""
    (Do you need to predeclare send_error?)
Bareword found where operator expected at src/csblogin line 99, near "switch"
    (Missing semicolon on previous line?)
Warning: Use of "-c" without parentheses is ambiguous at src/csblogin line 101.
syntax error at src/csblogin line 61, near "set password_file "
BEGIN not safe after errors--compilation aborted at src/csblogin line 101.
make: *** [test-csblogin] Error 255

The command "make -f .Makefile test" exited with 2.
chrpinedo commented 8 years ago

Corrected in 786df34. The csblogin is not a perl file but an expect file. Since there are no syntax checkers for expect, there are no tests in the Makefile for src/csblogin