fstests_local_autorun.sh: test XFS by default
[ddiss/rapido.git] / cut_fstests_cifs.sh
1 #!/bin/bash
2 #
3 # Copyright (C) SUSE LINUX GmbH 2016, all rights reserved.
4 #
5 # This library is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU Lesser General Public License as published
7 # by the Free Software Foundation; either version 2.1 of the License, or
8 # (at your option) version 3.
9 #
10 # This library is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
13 # License for more details.
14
15 RAPIDO_DIR="$(realpath -e ${0%/*})"
16 . "${RAPIDO_DIR}/runtime.vars"
17
18 _rt_require_dracut_args
19 _rt_require_fstests
20
21 dracut  --install "tail blockdev ps rmdir resize dd vim grep find df sha256sum \
22                    strace mkfs mkfs.xfs /lib64/libkeyutils.so.1 \
23                    which perl awk bc touch cut chmod true false unlink \
24                    mktemp getfattr setfattr chacl attr killall \
25                    id sort uniq date expr tac diff head dirname seq \
26                    /usr/lib64/libhandle.so.1 /lib64/libssl.so.1.0.0 \
27                    basename tee egrep hexdump sync xfs_db xfs_io mount.cifs \
28                    fstrim fio logger dmsetup chattr lsattr cmp stat \
29                    dbench /usr/share/dbench/client.txt getconf md5sum od wc \
30                    getfacl setfacl tr xargs sysctl link truncate quota" \
31         --include "$FSTESTS_SRC" "/fstests" \
32         --include "$RAPIDO_DIR/fstests_cifs_autorun.sh" "/.profile" \
33         --include "$RAPIDO_DIR/rapido.conf" "/rapido.conf" \
34         --include "$RAPIDO_DIR/vm_autorun.env" "/vm_autorun.env" \
35         --add-drivers "cifs ccm ctr" \
36         --modules "bash base network ifcfg" \
37         $DRACUT_EXTRA_ARGS \
38         $DRACUT_OUT