[pso] [Tema 1] Intrebari

Drutu Bogdan bogdandrutu at gmail.com
Tue Mar 16 21:52:35 EET 2010


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.


More information about the pso mailing list