From 52dfa70ef80d81669bbfc0108c5c66058077b3c9 Mon Sep 17 00:00:00 2001 From: janw Date: Thu, 26 Feb 2009 15:15:29 +0000 Subject: [PATCH] Simple bash script to allow testing of concurrent access from different processes with multiple threads. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13469 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/tests/run_sqlite-check-concurrency.pl | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 gosa-si/tests/run_sqlite-check-concurrency.pl diff --git a/gosa-si/tests/run_sqlite-check-concurrency.pl b/gosa-si/tests/run_sqlite-check-concurrency.pl new file mode 100755 index 000000000..f098555ec --- /dev/null +++ b/gosa-si/tests/run_sqlite-check-concurrency.pl @@ -0,0 +1,8 @@ +#!/bin/bash + +rm test.sqlite* + +for (( i=1; $i <= 10; i++ )) +do + ./sqlite-check-concurrency.pl & +done -- 2.30.2