[pso] [Tema 1] Intrebari

Drutu Bogdan bogdandrutu at gmail.com
Sun Mar 21 18:00:18 EET 2010


Eu am elminat ^ si merge perfect (adica nu fortez sa match toata linia
ci doar partea care ma interesa).

2010/3/21 Andrei Trandafir <andreitra1987 at yahoo.com>:
> Salut,
>
> Acum am dat si eu peste aceeasi problema ca si Bogdan: desi dmesg indica rezultate corecte, grep-ul nu reuseste sa faca match pe string-ul din test. Am incercat sa dau grep manual si n-a mers nici asa. Cum ar trebui sa facem? Se va inlocui testerul in decursul saptamanii viitoare sau vom trimite tema asa si vom indica problema in Readme?
>
> Multumesc,
> Andrei
>
>
>
> --- On Tue, 3/16/10, Drutu Bogdan <bogdandrutu at gmail.com> wrote:
>
>> From: Drutu Bogdan <bogdandrutu at gmail.com>
>> Subject: Re: [pso] [Tema 1] Intrebari
>> To: "Proiectarea Sistemelor de Operare" <pso at cursuri.cs.pub.ro>
>> Date: Tuesday, March 16, 2010, 12:52 PM
>> Ms mult,
>>
>> Dar daca mergem pe ideea de a folosi masina virtuala atunci
>> sa
>> modificati si in testele publice. (Sau sa scoateti ^).
>>
>>
>> 2010/3/16 Octavian Voicu <octavian.voicu at gmail.com>:
>> > 2010/3/16 Drutu Bogdan <bogdandrutu at gmail.com>
>> >>
>> >> spook 1 # dmesg | tail -1
>> >> [ 1224.652270]
>> >>
>> [1b43]36(4322346c,57c6ec,710b9ad6,4eba7454,28706f66,405fb446)=fffffff7
>> >
>> > Kernelul e compilat cu optiunea care afiseaza
>> timestamps pentru fiecare
>> > intrare din klog.
>> > Incearca sa modifici asa testul:
>> >  sprintf(dummy, "dmesg | grep
>> > '^\\[
>> *[0-9]\\+\\.[0-9]\\+\\] \\[%lx\\]%lx(%lx,%lx,%lx,%lx,%lx,%lx)=%lx'
>> &>
>> > /dev/null",
>> > (long)getpid(), sno, args[0],
>> >                args[1], args[2], args[3],
>> args[4], args[5], ret);
>> > Asta ar trebui sa ignore timestamp-urile.
>> > Octavian
>> >
>> > _______________________________________________
>> > pso mailing list
>> > pso at cursuri.cs.pub.ro
>> > http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>> >
>> >
>>
>>
>>
>> --
>> Bogdan.
>> _______________________________________________
>> pso mailing list
>> pso at cursuri.cs.pub.ro
>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>>
>
>
>
> _______________________________________________
> pso mailing list
> pso at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso
>



-- 
Bogdan.


More information about the pso mailing list