28
29
# Normal alias should override it.
29
30
mkdir -p tests/tmp/etc/modprobe.d
30
31
echo 'alias bar foo' > tests/tmp/etc/modprobe.d/modprobe.conf
33
34
# If there's a real module, alias from modules.alias must NOT override.
34
35
echo "alias foo alias-$BITNESS" > $MODULE_DIR/modules.alias
37
38
# If there's an install command, modules.alias must not override.
38
39
echo 'install bar echo foo' > tests/tmp/etc/modprobe.d/modprobe.conf