aboutsummaryrefslogtreecommitdiff
path: root/testcases/kernel/syscalls/mount/mount02.c
diff options
context:
space:
mode:
authorCyril Hrubis <chrubis@suse.cz>2014-06-10 13:49:05 +0200
committerCyril Hrubis <chrubis@suse.cz>2014-06-10 14:15:22 +0200
commit1dbf0b4a70c0ef7c849a0b3cd42da2c3874f9432 (patch)
tree2459d246cda4839136c2c24a6868c3f7bc0587ee /testcases/kernel/syscalls/mount/mount02.c
parent3492b03c1e86370d719328aa4abefac14fd27c6f (diff)
lib: Remove -c option and STD_COPIES
Remove -c option that was never working correctly. The -c option, if set, forks the test in test setup() creating several instances of the test to be running at the same time. The problems with the implementation were: * The failure of the forked tests WAS NOT popagaged to the first instance * The test driver (ltp-pan) tracks only the first instance and kills the rest of the tests instances once the first one finishes * Most of the tests does not expect to be running concurently (there are races in using the same test directory, loop devices, etc.) While the first two would be easy to fix the last one would require reviewing and testing all testcases which is too much work. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'testcases/kernel/syscalls/mount/mount02.c')
-rw-r--r--testcases/kernel/syscalls/mount/mount02.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/testcases/kernel/syscalls/mount/mount02.c b/testcases/kernel/syscalls/mount/mount02.c
index 2f20386da..7acc9ac22 100644
--- a/testcases/kernel/syscalls/mount/mount02.c
+++ b/testcases/kernel/syscalls/mount/mount02.c
@@ -107,13 +107,6 @@ int main(int ac, char **av)
tst_brkm(TBROK, NULL, "You must specifiy the device used for "
" mounting with -D option.");
- if (STD_COPIES != 1) {
- tst_resm(TINFO, "-c option has no effect for this testcase - "
- "%s doesn't allow running more than one instance "
- "at a time", TCID);
- STD_COPIES = 1;
- }
-
setup();
for (lc = 0; TEST_LOOPING(lc); lc++) {