Skip to content
dex4er edited this page Nov 2, 2010 · 3 revisions

Sources

Please, use the latest source from GitHub. See section for details.

Last changes

You can find a list of the last changes at [[http://github.com/fakechroot/fakechroot/raw/master/NEWS]]

Compiling

The Subversion sources needs additional utilities:

  • libtool (>= 2.0)

  • automake1.10

First you need to run ./autogen.sh script to get correct ./configure.

Testing

The tests are located at [[test/t|http://github.com/fakechroot/fakechroot/tree/master/test/t]] directory and can be launched with make check command in source root directory.

The test scripts generate output compatible with TAP protocol, so can be also launched with prove command:

  test$ prove t
  t/chroot.t ................ ok   
  t/cmd-subst.t ............. ok   
  t/escape-nested-chroot.t .. ok     
  t/pwd.t ................... ok   
  t/touch.t ................. ok     
  All tests successful.
  Files=5, Tests=43,  9 wallclock secs ( 0.09 usr  0.02 sys +  1.14 cusr  5.96 csys =  7.21 CPU)
  Result: PASS

Each test is launched with real chroot command (only if called as root privileges) and with fakechroot wrapper. You can call single test directly if you want to check the test with real chroot:

  test$ sudo t/t.pwd
  1..5
  ok 1 testtree
  ok 2 chroot pwd is /
  ok 3 chroot CHROOT is testtree
  ok 4 fakechroot pwd is /
  ok 5 fakechroot CHROOT is testtree

Bug reporting

Please report bugs via [[http://bugs.debian.org/]] against fakechroot package. You can send patches directly to dexter@debian.org, but the Debian BTS is prefered.

The bugreports are available at [[http://bugs.debian.org/fakechroot]]

Patching

The recommended way is through GitHub service. Please fork [[fakechroot/fakechroot|http://github.com/fakechroot/fakechroot]] repository and make modifications to your own repository. The reported patches will be merged back to master branch.

Clone this wiki locally