~ubuntu-branches/ubuntu/trusty/proftpd-dfsg/trusty

« back to all changes in this revision

Viewing changes to tests/t/lib/ProFTPD/Tests/Config/RewriteHome.pm

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-10-06 12:57:29 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20111006125729-wiq6d3yzf2ensafj
Tags: 1.3.4~rc3-1
* New upstream pre-release.
* Refreshed all patches.
* Changed patch xferstats.holger-preiss to fix a few warnings and use
  Getopt::Std instead of the old getopts.pl which will be removed soon or
  later in perl5. Thanks lintian.
* Policy bumped to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
 
56
56
  my $user = 'proftpd';
57
57
  my $passwd = 'test';
 
58
  my $group = 'ftpd';
58
59
  my $home_dir = File::Spec->rel2abs($tmpdir);
59
60
  my $uid = 500;
60
61
  my $gid = 500;
73
74
 
74
75
  auth_user_write($auth_user_file, $user, $passwd, $uid, $gid, '/foo/bar/baz',
75
76
    '/bin/bash');
76
 
  auth_group_write($auth_group_file, 'ftpd', $gid, $user);
 
77
  auth_group_write($auth_group_file, $group, $gid, $user);
77
78
 
78
79
  my $config = {
79
80
    PidFile => $pid_file,
175
176
 
176
177
  my $user = 'proftpd';
177
178
  my $passwd = 'test';
 
179
  my $group = 'ftpd';
178
180
  my $home_dir = File::Spec->rel2abs($tmpdir);
179
181
  my $uid = 500;
180
182
  my $gid = 500;
193
195
 
194
196
  auth_user_write($auth_user_file, $user, $passwd, $uid, $gid, $home_dir,
195
197
    '/bin/bash');
196
 
  auth_group_write($auth_group_file, 'ftpd', $gid, $user);
 
198
  auth_group_write($auth_group_file, $group, $gid, $user);
197
199
 
198
200
  my $config = {
199
201
    PidFile => $pid_file,
289
291
 
290
292
  my $user = 'proftpd';
291
293
  my $passwd = 'test';
 
294
  my $group = 'ftpd';
292
295
  my $home_dir = File::Spec->rel2abs($tmpdir);
293
296
  my $uid = 500;
294
297
  my $gid = 500;
307
310
 
308
311
  auth_user_write($auth_user_file, $user, $passwd, $uid, $gid, '/foo/bar/baz',
309
312
    '/bin/bash');
310
 
  auth_group_write($auth_group_file, 'ftpd', $gid, $user);
 
313
  auth_group_write($auth_group_file, $group, $gid, $user);
311
314
 
312
315
  my $config = {
313
316
    PidFile => $pid_file,