~ubuntu-branches/ubuntu/vivid/debtags/vivid-proposed

« back to all changes in this revision

Viewing changes to libapt-front/tests/libapt-front-check

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Zini
  • Date: 2006-03-18 20:31:47 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20060318203147-d9uzdeong5f5nk14
Tags: 1.5.5
* Added dumpavail command.
* Don't rebuild the database on install: apt-index-watcher does it instead.
  Closes: #357103.
* Compiles with g++ 4.1.  Closes: #357360.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# Uncomment to use root privileges to enable more accurate timings
4
 
# run USE_ROOT=1 make check for better timings
5
 
 
6
 
id=`date +%y%m%d%H%M%S`
7
 
if [ "$USE_ROOT"x = x ]
8
 
then
9
 
        ./libapt-front-test $ARGS 2>&1 | tee `pwd`/testrun-$id
10
 
else
11
 
        sudo nice --5 su $LOGNAME -c \
12
 
        "`pwd`/libapt-front-test $ARGS 2>&1 | tee `pwd`/testrun-$id"
13
 
fi
14
 
echo Output saved in `pwd`/testrun-$id