Browse Source

Fix test(1) portability

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 60e5e37455)
pull/182/head
OBATA Akio 3 years ago committed by Slávek Banko
parent
commit
fafd412d64
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668
  1. 2
      kdialog/progresscanceldemo

2
kdialog/progresscanceldemo

@ -2,7 +2,7 @@
dcopRef=`./kdialog --progressbar "Press Cancel at Any time" 10`
dcop $dcopRef showCancelButton true
until test "true" == `dcop $dcopRef wasCancelled`; do
until test "true" = `dcop $dcopRef wasCancelled`; do
sleep 1
inc=$((`dcop $dcopRef progress` + 1))
dcop $dcopRef setProgress $inc;

Loading…
Cancel
Save