summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2019-05-16 18:37:48 +0530
committerSanju Rakonde <srakonde@redhat.com>2019-05-16 18:45:56 +0530
commit836e5b6b76ee74a486b6d41c4a2d3de91e4ad2c1 (patch)
treedd91c4f37ff3bb29eb0afec843737480708c436c /tests/volume.rc
parent7ead11711181104b23c004e0cd5e9e3c3c981a4f (diff)
tests: change usleep() to sleep()
While running a test case the following warning messages are seen on the display. To avoid suh warnings changing usleep() to sleep(). warning: usleep is deprecated, and will be removed in near future! warning: use "sleep 0.25" instead... updates: bz#1193929 Signed-off-by: Sanju Rakonde <srakonde@redhat.com> Change-Id: I48b79ede1c70b101f654635dd4cc83e50ea55b73
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 71d7fed..f652a5b 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -131,7 +131,7 @@ function wait_statedump_ready {
return
fi
fi
- usleep 100000
+ sleep 0.1
done
echo "nostatedump"