diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-04-20 11:25:03 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-04-20 11:25:03 +0100 |
commit | 389f0a3d444e113b3ca36baa72306b404f1ae6f4 (patch) | |
tree | 29e777706f11532339baab061c03e689067974f8 /tests/mtime-new.script | |
parent | 963664a6d980a4e425e557f766408d23f0de4a32 (diff) | |
download | desktop-cronish-389f0a3d444e113b3ca36baa72306b404f1ae6f4.tar.gz |
Fix trigger-file
Diffstat (limited to 'tests/mtime-new.script')
-rwxr-xr-x | tests/mtime-new.script | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/mtime-new.script b/tests/mtime-new.script index 2d1f28e..ae1338c 100755 --- a/tests/mtime-new.script +++ b/tests/mtime-new.script @@ -2,13 +2,15 @@ set -eu -touch "$DATADIR/foo.trigger" -cat <<EOF > "$DATADIR/foo.tasks" +touch "$DATADIR/mtime-new.trigger" +touch "$DATADIR/mtime-new.out" +cat <<EOF > "$DATADIR/mtime-new.tasks" date: - trigger-file: $DATADIR/foo.trigger + trigger-file: $DATADIR/mtime-new.trigger trigger-age: 10 - command: echo triggered > $DATADIR/foo.out + command: echo triggered > $DATADIR/mtime-new.out EOF -./desktop-cronish --quiet --max-jobs 5 "$DATADIR/foo.tasks" +./desktop-cronish --quiet --max-jobs 5 "$DATADIR/mtime-new.tasks" +cat "$DATADIR/mtime-new.out" |