tests/filehandling.t @ 2693d5c857a5 v1.1.0

Remove extra padding in task files to aid in merging.
author Steve Losh <steve@dwaiter.com>
date Sun, 03 Oct 2010 18:47:03 -0400
parents a882490073a1
children 831123b0359f
Setup:

  $ alias xt="python $TESTDIR/../t.py --task-dir `pwd` --list test"

Add a task file:

  $ ls -a
  .
  ..
  $ xt
  $ ls -a
  .
  ..
  $ xt Sample.
  $ ls -a
  .
  ..
  .test.done
  test

Finish a task without deleting:

  $ xt -f a
  $ ls -a
  .
  ..
  .test.done
  test

Finish a task with deleting:

  $ xt Another.
  $ xt --delete-if-empty -f c
  $ ls -a
  .
  ..
  .test.done