<div dir="ltr">Bună Adriana!<div><br></div><div>Nu cred că ai downloadat corect tool-ul checkpatch_wrapper.sh. Probabil ai rulat curl pe link-ul de la [1]. Folosește link-ul de aici[2].</div><div><br></div><div>[2] <a href="https://raw.githubusercontent.com/systems-cs-pub-ro/so-assignments/master/checkpatch_wrapper.sh">https://raw.githubusercontent.com/systems-cs-pub-ro/so-assignments/master/checkpatch_wrapper.sh</a></div><div><br></div><div>Numai bine,</div><div>Răzvan<br><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 5, 2017 at 4:44 PM Adriana Dinca via so <<a href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Buna Costin,<br class="gmail_msg"><br class="gmail_msg"></div>Am rulat folosind wrapper-ul [1] si primesc urmatoarea eroare:<br class="gmail_msg">student@spook:~/tema2-so/test0$ ./checkpatch_wrapper.sh cmd.c <br class="gmail_msg">./checkpatch_wrapper.sh: line 7: syntax error near unexpected token `newline'<br class="gmail_msg">./checkpatch_wrapper.sh: line 7: `<!DOCTYPE html>'<br class="gmail_msg"><br class="gmail_msg"></div>Am testat folosind vmchecker-ul si imi trece test-ul 0, deci problema este la mine in masina virtuala de SO.<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Pot ignora acel warning atat timp cat pe vmchecker imi trece testul. :)<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Multumesc de ajutor!<br class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Numai bine,<br class="gmail_msg"></div><div class="gmail_msg">Adriana<br class="gmail_msg"><br class="gmail_msg">
<a href="https://github.com/systems-cs-pub-ro/so-assignments/blob/master/checkpatch_wrapper.sh" rel="noreferrer" class="gmail_msg" target="_blank">[1]: https://github.com/systems-cs-pub-ro/so-assignments/blob/master/checkpatch_wrapper.sh</a><br class="gmail_msg"></div><div class="gmail_msg"><br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">Pe 5 aprilie 2017, 11:13, Costin Lupu <span dir="ltr" class="gmail_msg"><<a href="mailto:costin.lup@gmail.com" class="gmail_msg" target="_blank">costin.lup@gmail.com</a>></span> a scris:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="gmail_msg">On Wed, 2017-04-05 at 10:52 +0300, Adriana Dinca wrote:<br class="gmail_msg">
> Buna Costin,<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Nu imi da nicio indicatie in warning.<br class="gmail_msg">
><br class="gmail_msg">
> Asta e outpul pe care il obtin daca rulez make -f Makefile.checker pe<br class="gmail_msg">
> masina virtuala de so.<br class="gmail_msg">
><br class="gmail_msg">
> "<br class="gmail_msg">
> = Testing - mini-shell =<br class="gmail_msg">
><br class="gmail_msg">
> Please provide path to your sources: ../skel-linux/<br class="gmail_msg">
> perl: warning: Please check that your locale settings:<br class="gmail_msg">
> 00) Sources check...........................................failed<br class="gmail_msg">
> [ 0/95]"<br class="gmail_msg">
><br class="gmail_msg">
><br class="gmail_msg">
> Nu crapa programul, insa nu imi trece testul 0.<br class="gmail_msg">
<br class="gmail_msg">
</span>Ia rulează cu wrapper-ul [1] peste o singură sursă, să zicem 'cmd.c' și<br class="gmail_msg">
să vedem ce erori afișează. E o problemă cu perl-ul de pe mașina ta. Mai<br class="gmail_msg">
vrea ceva de instalat/configurat.<br class="gmail_msg">
<br class="gmail_msg">
[1]<br class="gmail_msg">
<a href="https://github.com/systems-cs-pub-ro/so-assignments/blob/master/checkpatch_wrapper.sh" rel="noreferrer" class="gmail_msg" target="_blank">https://github.com/systems-cs-pub-ro/so-assignments/blob/master/checkpatch_wrapper.sh</a><br class="gmail_msg">
<span class="m_-2232459952005054138HOEnZb gmail_msg"><font color="#888888" class="gmail_msg"><br class="gmail_msg">
Costin<br class="gmail_msg">
<br class="gmail_msg">
</font></span></blockquote></div><br class="gmail_msg"></div>
_______________________________________________<br class="gmail_msg">
<a href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" rel="noreferrer" class="gmail_msg" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a></blockquote></div></div></div>