taskwarrior/test/tw-2514.test.sh
Dustin J. Mitchell 17889a3f25
Actually run shell tests (#3583)
Two of these used EXPFAIL which, because nothing is interpreting the TAP
output, does not work. So, that functionality is removed, and the
expected-to-fail bits are commented out or removed.

There was a conditional on the filename in `bash_tap.sh` which caused it
to not actually do anything and just run the test as a simple shell
script. That, too, has been removed.
2024-08-07 00:44:12 +00:00

12 lines
357 B
Bash
Executable file

#!/usr/bin/env bash
. bash_tap_tw.sh
# Setup the tasks
task add Something I did yesterday
task 1 mod start:yesterday+18h
task 1 done end:yesterday+20h
# this does not work without journal.info
# Check that 2 hour interval is reported by task info
#task info | grep -F "Start deleted"
#[[ ! -z `task info | grep -F "Start deleted (duration: 2:00:00)."` ]]