[pso] [tema3]posibila greseala in test.sh

Catalin Morosan cercetasu2003 at yahoo.com
Wed Apr 18 23:00:34 EEST 2007


Folosesc imaginea de linux de pe site. 

GNU bash, version 3.1.17(1)-release(i486-pc-linux-gnu)

Am rezolvat problema modificand liniile din  functia test_rw din test.sh astfel:
fblocks=$blocks -1                 devine               fblocks=$[$blocks-1]
finodes=$inodes -1                  devine              finodes=$[$inodes-1]

Tema ar trebui sa poate fi uploadata pe site fara nicio problema? Am vazut ca cineva a uploadat-o si a mers is ma gandesc ca e modificat test.sh de pe site.....

----- Original Message ----
From: Octavian Purdila <tavi at cs.pub.ro>
To: pso at cursuri.cs.pub.ro
Cc: Catalin Morosan <cercetasu2003 at yahoo.com>
Sent: Wednesday, April 18, 2007 10:43:34 PM
Subject: Re: [pso] [tema3]posibila greseala in test.sh

On Wednesday 18 April 2007 21:42, Catalin Morosan wrote:
> Salut.
> 
> Cred ca am gasit o greseala in test.sh
> 
> Ideea e ca la mai multe teste imi afiseaza astfel: "check free inodes......failed [109 = 110-1]"
> 
> Eu zic ca sunt facute gresite atribuirile din test.sh pentru  $fblocks $finodes si sunt tratate ca siruri si nu ca numere (de unde si expresiile de genul 110-1)
> 
> 

Ce versiune de bash folosesti?

tavi




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070418/6cba613c/attachment.html


More information about the pso mailing list