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-old.script | |
parent | 963664a6d980a4e425e557f766408d23f0de4a32 (diff) | |
download | desktop-cronish-389f0a3d444e113b3ca36baa72306b404f1ae6f4.tar.gz |
Fix trigger-file
Diffstat (limited to 'tests/mtime-old.script')
-rwxr-xr-x | tests/mtime-old.script | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/mtime-old.script b/tests/mtime-old.script index a14ad25..b58b53e 100755 --- a/tests/mtime-old.script +++ b/tests/mtime-old.script @@ -2,13 +2,14 @@ set -eu -touch -t 197001010000.00 "$DATADIR/foo.trigger" -cat <<EOF > "$DATADIR/foo.tasks" +touch -t 197001010000.00 "$DATADIR/mtime-old.trigger" +cat <<EOF > "$DATADIR/mtime-old.tasks" date: - trigger-file: $DATADIR/foo.trigger + trigger-file: $DATADIR/mtime-old.trigger trigger-age: 10 - command: echo triggered > $DATADIR/foo.out + command: echo triggered > $DATADIR/mtime-old.out EOF -./desktop-cronish --quiet --max-jobs 5 "$DATADIR/foo.tasks" +./desktop-cronish --quiet --max-jobs 5 "$DATADIR/mtime-old.tasks" +cat "$DATADIR/mtime-old.out" |