diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-11 05:47:10 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-11 05:47:10 +0200 |
commit | 4f8ac368dbead32aaa30684c29df3afa0a8ba17f (patch) | |
tree | 60a1007dba7a0f2456c44f7152e68b274f4bb3f2 /test.d | |
parent | m (diff) | |
download | mds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.gz mds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.bz2 mds-4f8ac368dbead32aaa30684c29df3afa0a8ba17f.tar.xz |
add fork_for_safety option + beginning of kernel-based keyboard
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test.d')
-rwxr-xr-x | test.d/mdsinitrc | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/test.d/mdsinitrc b/test.d/mdsinitrc index d809c24..ee5bb60 100755 --- a/test.d/mdsinitrc +++ b/test.d/mdsinitrc @@ -30,14 +30,20 @@ g= if [ -z "${NO_VALGRIND}" ]; then g="valgrind --leak-check=full --show-leak-kinds=all" fi -$g mds-respawn --interval=10 \ - { sleep 4s } \ - { sleep 1m } \ - { $g mds-echo } \ - & -if which terminator 2>/dev/null >&2; then - exec terminator +if [ -z "${MDS_TEST}" ]; then + $g mds-respawn --interval=10 \ + { sleep 4s } \ + { sleep 1m } \ + { $g mds-echo } \ + & + if which terminator 2>/dev/null >&2; then + exec terminator + else + exec xterm + fi +elif [ "${MDS_TEST}" = kkbd ]; then + exec $g mds-kkbd else - exec xterm + echo 'Bad value of ${MDS_TEST}' fi |