diff options
author | Allan McRae <allan@archlinux.org> | 2013-01-20 16:49:52 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-28 23:38:34 +1000 |
commit | 801f7d1033f74644c6d427cff9618270b2878582 (patch) | |
tree | ac2225cf4f0c6d68b0006e04f3088e72a537ceab /test/pacman/pmenv.py | |
parent | ad280e1b56b6c6632b2fae5288f6441c343d0185 (diff) |
pactest: handle non-default scriptlet shells
pacman can be configured to use a different shell than /bin/sh for
scriplets. Pass the cnfigured value to the pactest suite and make the
necessary "copy" of the shell in the test root.
Also update all copyright years in the pactest suite.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/pmenv.py')
-rw-r--r-- | test/pacman/pmenv.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py index 0e455cee..9a88262e 100644 --- a/test/pacman/pmenv.py +++ b/test/pacman/pmenv.py @@ -1,6 +1,7 @@ #! /usr/bin/python2 # # Copyright (c) 2006 by Aurelien Foret <orelien@chez.com> +# Copyright (c) 2006-2013 Pacman Developmet Team <pacman-dev@archlinux.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -66,7 +67,7 @@ class pmenv(object): print t.description print "----------"*8 - t.generate() + t.generate(self.pacman) t.run(self.pacman) |