~dexter/fakechroot/lenny

« back to all changes in this revision

Viewing changes to test/common.inc

  • Committer: piotr.roszatycki at gmail
  • Date: 2010-09-12 18:21:38 UTC
  • mfrom: (0.1.7 upstream)
  • Revision ID: piotr.roszatycki@gmail.com-20100912182138-dpjazxgvcscsgd7e
* New upstream release:
  - All Debian patches were applied upstream.
  - Fixed getsockname(2) and getpeername(2) functions and bug when
    "host 127.0.0.1" is called. Closes: #596435.
  - Fixed canonicalize_file_name(3) function and bug when "man-db" command
    is called.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
. $srcdir/tap.inc
3
 
 
4
1
TRUE=0
5
2
FALSE=1
6
3
 
29
26
    export LD_PRELOAD
30
27
 
31
28
    if ! which chroot >/dev/null; then
32
 
        export PATH=/usr/sbin:/sbin:$PATH
 
29
        PATH=$PATH:/usr/sbin:/sbin
 
30
        export PATH
33
31
    fi
34
32
 
35
 
    export FAKECHROOT=true
 
33
    FAKECHROOT=true
 
34
    export FAKECHROOT
36
35
}
37
36
 
38
37
cleanup () {
48
47
    $srcdir/testtree.sh testtree
49
48
    test "`cat testtree/CHROOT 2>&1`" = "testtree" || bail_out "cannot create testtree"
50
49
}
 
50
 
 
51
. $srcdir/seq.inc
 
52
. $srcdir/tap.inc