34
35
# Normal alias should override it.
35
36
mkdir -p tests/tmp/etc/modprobe.d
36
37
echo 'alias bar foo' > tests/tmp/etc/modprobe.d/modprobe.conf
39
40
# If there's a real module, alias from modules.alias must NOT override.
40
41
echo "foo alias_$BITNESS" > $MODULE_DIR/modules.alias.bin.temp
41
42
modindex -o $MODULE_DIR/modules.alias.bin < $MODULE_DIR/modules.alias.bin.temp
44
45
# If there's an install command, modules.alias must not override.
45
46
echo 'install bar echo foo' > tests/tmp/etc/modprobe.d/modprobe.conf