summaryrefslogtreecommitdiffstats
path: root/tests/commands.sh.in
diff options
context:
space:
mode:
authorKarel Zak2007-03-28 18:43:03 +0200
committerKarel Zak2007-03-28 18:43:03 +0200
commit2cd72ac0e054bb070cad880d0cc9366ebf08b3eb (patch)
tree8e7c3f873dddf4e33dd63008142a6176afc90025 /tests/commands.sh.in
parenttests: make clean need to remove diffs and outputs (diff)
downloadkernel-qcow2-util-linux-2cd72ac0e054bb070cad880d0cc9366ebf08b3eb.tar.gz
kernel-qcow2-util-linux-2cd72ac0e054bb070cad880d0cc9366ebf08b3eb.tar.xz
kernel-qcow2-util-linux-2cd72ac0e054bb070cad880d0cc9366ebf08b3eb.zip
tests: add lock_mtab() performance and reliability test
The test starts concurrently many processes that use lock_mtab() as lock for access to same file. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/commands.sh.in')
-rw-r--r--tests/commands.sh.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/commands.sh.in b/tests/commands.sh.in
index 44eca14ad..9ed88a9c2 100644
--- a/tests/commands.sh.in
+++ b/tests/commands.sh.in
@@ -11,6 +11,8 @@ TS_CMD_SWAPON=${TS_CMD_SWAPON:-"$TOPDIR/mount/swapon"}
TS_CMD_SWAPOFF=${TS_CMD_SWAPOFF:-"$TOPDIR/mount/swapoff"}
TS_CMD_LOSETUP=${TS_CMD_LOSETUP:-"$TOPDIR/mount/losetup"}
+TS_CMD_MTABLOCK=${TS_CMD_MTABLOCK:-"$TOPDIR/mount/mtab_lock_test"}
+
TS_CMD_MKSWAP=${TS_CMD_MKSWAP:-"$TOPDIR/disk-utils/mkswap"}
TS_CMD_MKCRAMFS=${TS_CMD_MKCRAMFS:-"$TOPDIR/disk-utils/mkfs.cramfs"}