tests: remove udf/101
[xfstests-dev.git] / src / dmerror
1 #!/bin/bash
2 #-----------------------------------------------------------------------
3 # Copyright (c) 2017, Jeff Layton <jlayton@redhat.com>
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it would be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write the Free Software Foundation,
16 # Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17 #-----------------------------------------------------------------------
18
19 . ./common/config
20 . ./common/dmerror
21
22 _dmerror_setup
23
24 case $1 in
25 cleanup)
26         _dmerror_cleanup
27         ;;
28 init)
29         _dmerror_init
30         ;;
31 load_error_table)
32         _dmerror_load_error_table
33         ;;
34 load_working_table)
35         _dmerror_load_working_table
36         ;;
37 *)
38         echo "Usage: $0 {init|cleanup|load_error_table|load_working_table}"
39         exit 1
40         ;;
41 esac
42
43 status=0
44 exit