[so] [Tema1][Linux] Test 8+12
Tiberiu Barbu
vexyro at gmail.com
Wed Mar 14 12:34:34 EET 2012
Salut,
Am o problemă cu aceste teste pe vmchecker:
08) Testing environment variables...........................failed [ 0/90]
12) Testing overwritten variables...........................failed [ 0/90]
Atunci am zis hai sa testez eu de mână pe linux.
Test 8)
vex at vex:~/so/so.tema1$ ./tema1
> myNew='SUCCESS'; echo $myVariable >> output0; echo $myNew >> output0
> cat output0
SUCCESS
> cat output1 > final 2> err1; rm output1 &> err2
> cat final
> cat output1
cat: output1: No such file or directory
> cat err1
cat: output1: No such file or directory
> cat err2
rm: cannot remove `output1': No such file or directory
> cat output0 > final; rm output0 &> err3
> cat final
SUCCESS
> cat output0
cat: output0: No such file or directory
> cat err3
Test 12)
vex at vex:~/so/so.tema1$ ./tema1
> MYVAR=3 && echo $MYVAR > out.txt
> MYVAR=5 && echo $MYVAR > out2.txt
> MYVAR=7 ; UNU=01 ; USER=caleb && echo $USER "%%" $MYVAR "%%" $UNU > out3.txt
> MYVAR=5 || echo $USER > out4.txt
> cat out.txt
3
> cat out2.txt
5
> cat out3.txt
caleb %% 7 %% 01
> cat out4.txt
cat: out4.txt: No such file or directory
> echo $MYVAR
5
>
Concluzia este că mie îmi merg testele. Any ideas?
--
Tiberiu Barbu
More information about the so
mailing list