~ecryptfs/ecryptfs/trunk

« back to all changes in this revision

Viewing changes to tests/userspace/lfs.sh

  • Committer: Tyler Hicks
  • Date: 2012-11-05 06:05:54 UTC
  • Revision ID: tyhicks@canonical.com-20121105060554-5ji4q2865a9qk1ct
* autogen.sh:
  - Use the --copy option when invoking intltoolize

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#
3
 
# lfs.sh: Test for large file support enabled builds
4
 
# Author: Tyler Hicks <tyhicks@canonical.com>
5
 
#
6
 
# Copyright (C) 2013 Canonical, Ltd.
7
 
#
8
 
# This program is free software; you can redistribute it and/or
9
 
# modify it under the terms of the GNU General Public License
10
 
# as published by the Free Software Foundation version 2
11
 
# of the License.
12
 
#
13
 
# This program is distributed in the hope that it will be useful,
14
 
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
# GNU General Public License for more details.
17
 
#
18
 
# You should have received a copy of the GNU General Public License
19
 
# along with this program; if not, write to the Free Software
20
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21
 
 
22
 
test_script_dir=$(dirname $0)
23
 
rc=1
24
 
 
25
 
. ${test_script_dir}/../lib/etl_funcs.sh
26
 
 
27
 
test_cleanup()
28
 
{
29
 
        exit $rc
30
 
}
31
 
trap test_cleanup 0 1 2 3 15
32
 
 
33
 
# Run the test program. See its source for the details of this test.
34
 
${test_script_dir}/lfs/test
35
 
 
36
 
rc=$?
37
 
exit