~ubuntu-branches/ubuntu/vivid/logrotate/vivid

« back to all changes in this revision

Viewing changes to test/test

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2008-11-07 14:57:09 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081107145709-s8ktufsiktmkuidl
Tags: 3.7.7-1ubuntu1
* Merge with Debian experimental (LP: #64964). Remaining Ubuntu changes:
  - debian/control: Drop mailx to Suggests for Ubuntu; it's only used on
    request, and we don't configure an MTA by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
 
355
355
rm -rf testdir
356
356
 
 
357
# sanity rotation check using dateext and dateformat
 
358
cleanup 14
 
359
 
 
360
preptest test.log 14 1 0
 
361
 
 
362
$RLR test-config.14 --force
 
363
 
 
364
DATESTRING=$(/bin/date +%Y-%m-%d)
 
365
 
 
366
checkoutput <<EOF
 
367
test.log 0
 
368
test.log.$DATESTRING 0 zero
 
369
EOF
 
370
 
 
371
rm -rf testdir
357
372
cleanup