Does svm-predict ALWAYS output the "Accuracy=xx%" line? In my case it does and it looks like it does testing (and not prediction of unknown data).
If I put no value in the beginning of the line, then it parses the first integer (in my case this is the index of the index:value pair) of each line and gives a non-sense accuracy percentage...