Whamcloud - gitweb
LU-7884 utils: mkfs prevents the creation of files in /dev/shm 84/18984/16
authorQuentin Bouget <quentin.bouget@cea.fr>
Tue, 11 Apr 2017 15:46:50 +0000 (15:46 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 7 Jun 2017 20:31:12 +0000 (20:31 +0000)
commitd9c146f670ab433632d6d7536592a4240de616a4
tree6e34c6f72947244d7b8bcbd3bb0747b162e7c0ff
parentdd4b034540d7dda499ebbb8c465d3435ad46b82a
LU-7884 utils: mkfs prevents the creation of files in /dev/shm

When configuring llmount to use /dev/shm as its TMP directory
(for loopback files), mkfs.lustre complains that the loopback does
not exist and will not be created.
This patch fixes this by adding a "touch" instruction before any use
of mkfs.lustre in test-framework.sh

Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Change-Id: I1422d8af947db5ba5b262a9acd2239e99f0843c2
Reviewed-on: https://review.whamcloud.com/18984
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/test-framework.sh