File: tw-3102.test.sh

package info (click to toggle)
task 3.4.2%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,332 kB
  • sloc: cpp: 42,567; python: 12,689; sh: 775; perl: 189; makefile: 35
file content (13 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
. bash_tap_tw.sh

task add modtest modified:yesterday
old_modified=`task _get 1.modified`
echo $old_modified

task 1 start
new_modified=`task _get 1.modified`
echo $new_modified

# `task start` should have updated modified
[[ $old_modified != $new_modified ]]