aboutsummaryrefslogtreecommitdiffstats
path: root/test.d
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-07 21:46:59 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-07 21:46:59 +0200
commitf934a2908efa99e2d39ad1c3ba01137204baddaf (patch)
tree0f2d6832b0a301b228c9e4d49dc0e404e49f82bc /test.d
parentfinish implementation of mds-respawn (diff)
downloadmds-f934a2908efa99e2d39ad1c3ba01137204baddaf.tar.gz
mds-f934a2908efa99e2d39ad1c3ba01137204baddaf.tar.bz2
mds-f934a2908efa99e2d39ad1c3ba01137204baddaf.tar.xz
test and fix mds-respawn + add missed staging: monotonic clock should be raw
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test.d')
-rwxr-xr-xtest.d/mdsinitrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test.d/mdsinitrc b/test.d/mdsinitrc
index c27cdc0..978dbb6 100755
--- a/test.d/mdsinitrc
+++ b/test.d/mdsinitrc
@@ -19,12 +19,16 @@
echo "Successfully spawned mdsinitrc. "
+export PATH="$(realpath bin):${PATH}"
cd test.d
export XDG_CONFIG_HOME="${OLD_XDG_CONFIG_HOME}"
unset OLD_XDG_CONFIG_HOME
if [ -z "${XDG_CONFIG_HOME}" ]; then
unset XDG_CONFIG_HOME
fi
+mds-respawn --interval=10 \
+ { sleep 4s } \
+ { sleep 1m } &
if which terminator 2>/dev/null >&2; then
exec terminator
else