[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Jim Meyering
meyering at alioth.debian.org
Thu Jan 5 17:28:47 UTC 2012
tests/t-lib-helpers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e54f1da5bd2c379d8d2e4e7d5bb086b4947d4591
Author: Jim Meyering <meyering at redhat.com>
Date: Thu Jan 5 18:24:41 2012 +0100
tests: fix a bug in wait_for_dev_to_disappear_ helper function
* tests/t-lib-helpers.sh (wait_for_dev_to_disappear_): Correct
typo: missing expr in subshell.
diff --git a/tests/t-lib-helpers.sh b/tests/t-lib-helpers.sh
index 3c41e7b..4b3c122 100644
--- a/tests/t-lib-helpers.sh
+++ b/tests/t-lib-helpers.sh
@@ -388,7 +388,7 @@ wait_for_dev_to_disappear_()
while :; do
ls "$file" > /dev/null 2>&1 || return 0
sleep .1 2>/dev/null || { sleep 1; incr=10; }
- i=$(expr $i + $incr); test $i -ge $($n_sec \* 10) && break
+ i=$(expr $i + $incr); test $i -ge $(expr $n_sec \* 10) && break
done
return 1
}
More information about the Parted-commits
mailing list