summaryrefslogtreecommitdiffstats
path: root/run-tests.sh
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2014-09-04 19:30:48 +0530
committerVijay Bellur <vbellur@redhat.com>2014-09-06 09:33:47 -0700
commit165cf459cf2a61c391d16928d58b34543a7ec94e (patch)
tree73b5aabdfd5c171a87ab5fbf7ce5617f97d1a1a3 /run-tests.sh
parent15a2088da508539a292f2a1863377dc40d264c8c (diff)
tests: Don't check for init process.
As a way of checking for existence of pidof we were checking for init process, which may not be true in case of Containers. Change-Id: I402e7ab4f2459057826ed24094e87dd605eaac8a BUG: 1073168 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/8600 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Harshavardhana <harsha@harshavardhana.net>
Diffstat (limited to 'run-tests.sh')
-rwxr-xr-xrun-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-tests.sh b/run-tests.sh
index bcf2a69a5cc..b75ac2c8bfc 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -55,7 +55,7 @@ function check_dependencies()
fi
# Check for pidof
- pidof init > /dev/null 2>&1
+ pidof pidof > /dev/null 2>&1
if [ $? -ne 0 ]; then
MISSING="$MISSING pidof"
fi