Retire private id executables
authorSami Kerola <kerolasa@iki.fi>
Thu, 19 Jul 2012 06:29:44 +0000 (08:29 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 31 Oct 2016 10:13:13 +0000 (06:13 -0400)
commitfc634e724fbd236a28a2e32cb43c205db8d713f9
treed5f7c04f33006aa8241f5b79510c23c921747133
parentfc6413775e8fd011f9583280f30f7c46defa6723
Retire private id executables

The main script is setting PATH to use id executable from rather
strange directory.  That allowed checks to run without root
privilege.  This change will make detection whether test run is
been requested more universal, and to work without super setting
id command.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
RWMJ:
  - Use -ne instead of != to compare integers.

(cherry picked from commit 8aa72773cebbc742d9378fed6b6ac13cb57b0eb3)
15 files changed:
tests/baremetal/sbin/id [deleted file]
tests/esx4.1/sbin/id [deleted file]
tests/hyperv/sbin/id [deleted file]
tests/kvm-explicit-cpu/sbin/id [deleted file]
tests/kvm/sbin/id [deleted file]
tests/linux-vserver/sbin/id [deleted file]
tests/lx86/sbin/id [deleted file]
tests/parallels-desktop/sbin/id [deleted file]
tests/qemu/sbin/id [deleted file]
tests/rhel5-xen-dom0/sbin/id [deleted file]
tests/rhel5-xen-domU-hvm-ia64/sbin/id [deleted file]
tests/rhel5-xen-domU-hvm/sbin/id [deleted file]
tests/rhel5-xen-domU-pv/sbin/id [deleted file]
tests/zvm/sbin/id [deleted file]
virt-what.in