Setup

  $ . $TESTDIR/setup.sh

Run test

  $ $PYTHON $TESTDIR/../ffind/ffind.py test1
  ./test_dir/test1.py
  ./test_dir/second_level/stest1.py
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete stest1
  $ $PYTHON $TESTDIR/../ffind/ffind.py test1
  ./test_dir/test1.py
  $ $PYTHON $TESTDIR/../ffind/ffind.py third_level
  ./test_dir/second_level/third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete second_level
  cannot delete: [Errno 66] Directory not empty: './test_dir/second_level'
  [1]

Setup

  $ . $TESTDIR/setup.sh

Run test

  $ $PYTHON $TESTDIR/../ffind/ffind.py test1
  ./test_dir/test1.py
  ./test_dir/second_level/stest1.py
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete stest1
  $ $PYTHON $TESTDIR/../ffind/ffind.py test1
  ./test_dir/test1.py
  $ $PYTHON $TESTDIR/../ffind/ffind.py third_level
  ./test_dir/second_level/third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py third_level
  $ $PYTHON $TESTDIR/../ffind/ffind.py --delete second_level
  cannot delete: [Errno *] Directory not empty: './test_dir/second_level' (glob)
  [1]

Set the error number as any to avoid problems testing in different filesystems
Set the error number as any to avoid problems testing in different
filesystems
