Unit Tests

- Corrected cleanup code for bug.hang.t which was removing the wrong
  config file.
This commit is contained in:
Paul Beckingham 2011-10-16 00:46:38 -04:00
parent 45262be011
commit 6e72430a58

View file

@ -70,14 +70,14 @@ if ($@ eq "alarm\n")
} }
# Cleanup. # Cleanup.
unlink qw(shadow.txt pending.data completed.data undo.data backlog.data synch.key bug.rc); unlink qw(shadow.txt pending.data completed.data undo.data backlog.data synch.key hang.rc);
ok (! -r 'shadow.txt' && ok (! -r 'shadow.txt' &&
! -r 'pending.data' && ! -r 'pending.data' &&
! -r 'completed.data' && ! -r 'completed.data' &&
! -r 'undo.data' && ! -r 'undo.data' &&
! -r 'backlog.data' && ! -r 'backlog.data' &&
! -r 'synch.key' && ! -r 'synch.key' &&
! -r 'bug.rc', 'Cleanup'); ! -r 'hang.rc', 'Cleanup');
exit 0; exit 0;