Fix for test usst.t and bug-1167580-set-proper-uid-and-gid-during-nfs-access.t
authorvmallika <vmallika@redhat.com>
Thu, 19 Feb 2015 12:24:03 +0000 (17:54 +0530)
committerKrishnan Parthasarathi <kparthas@redhat.com>
Fri, 20 Feb 2015 12:08:37 +0000 (04:08 -0800)
commitdf9f1cd96854c82338c62897d788319b560e43ad
tree5cfb32c9bae36b9acbb19058656c33c479b88093
parent9d842f965655bf70c643b4541844e83bc4e74190
Fix for test usst.t and bug-1167580-set-proper-uid-and-gid-during-nfs-access.t

testcase usst.t and
bug-1167580-set-proper-uid-and-gid-during-nfs-access.t
uses below method to generate random string
cat /dev/urandom | tr -dc 'a-zA-Z' | fold -w 8 | head -n 1

Doing a cat on /dev/urandom can consume more CPU usage.

Change to:
uuidgen | tr -dc 'a-zA-Z' | head -c 8

Change-Id: I9cb562557ae860026fb5e140ed9b5e297b4428d9
BUG: 1163543
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/9703
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com>
Tested-by: Krishnan Parthasarathi <kparthas@redhat.com>
tests/basic/uss.t
tests/bugs/snapshot/bug-1167580-set-proper-uid-and-gid-during-nfs-access.t