~ubuntu-branches/ubuntu/wily/libuser/wily

« back to all changes in this revision

Viewing changes to tests/config_test.sh

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Habouzit
  • Date: 2006-09-03 21:58:15 UTC
  • mto: (2.1.1 edgy) (1.1.5 upstream) (3.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20060903215815-rtvvfzhaer8ymyp4
Tags: upstream-0.54.6-2.1.dfsg.1
ImportĀ upstreamĀ versionĀ 0.54.6-2.1.dfsg.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
mkdir "$workdir"
31
31
 
32
32
# Set up the client
33
 
LIBUSER_CONF=$workdir/libuser.conf
34
 
export LIBUSER_CONF
35
 
sed "s|@TOP_BUILDDIR@|$(pwd)|g" < "$srcdir"/config.conf.in > "$LIBUSER_CONF"
 
33
sed "s|@TOP_BUILDDIR@|$(pwd)|g" < "$srcdir"/config.conf.in \
 
34
        > "$workdir/libuser.conf"
 
35
sed -e "s|@TOP_BUILDDIR@|$(pwd)|g" -e "s|@SRCDIR@|$srcdir|g" \
 
36
        < "$srcdir"/config_import.conf.in > "$workdir/libuser_import.conf"
 
37
sed -e "s|@TOP_BUILDDIR@|$(pwd)|g" -e "s|@SRCDIR@|$srcdir|g" \
 
38
        < "$srcdir"/config_override.conf.in > "$workdir/libuser_override.conf"
 
39
 
36
40
# Ugly non-portable hacks
37
41
LD_LIBRARY_PATH=$(pwd)/lib/.libs
38
42
export LD_LIBRARY_PATH
39
43
 
40
 
tests/config_test
 
44
tests/config_test "$workdir"