summaryrefslogtreecommitdiff
path: root/tests/mtime-old.script
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mtime-old.script')
-rwxr-xr-xtests/mtime-old.script11
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"