File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,18 +121,20 @@ if [ ! -z "$MODULE_PATH" ]; then
121121 assert_failed " module was removed."
122122 fi
123123 export ALLOW_REMOVE=0 # not allow remove these files
124- export ALLOW_SAME=1
124+ export ALLOW_SAME=0 # not allow same files
125125 # assert not exists the script that depends on boot up
126126 assert_not_exists_file " post-fs-data.sh"
127127 assert_not_exists_file " post-mount.sh"
128128 assert_not_exists_file " boot-completed.sh"
129129 assert_not_exists_file " late-load.sh"
130- assert_not_exists_file " sepolicy.rule"
131- assert_not_exists_file " system.prop"
132130 # assert not a meta-module
133131 assert_not_exists_file " metamount.sh"
134132 assert_not_exists_file " metainstall.sh"
135133 assert_not_exists_file " metauninstall.sh"
134+
135+ export ALLOW_SAME=1 # allow same files
136+ assert_not_exists_file " sepolicy.rule"
137+ assert_not_exists_file " system.prop"
136138 # assert cannot hot-install zygisk module
137139 assert_not_exists_dir " zygisk/"
138140
You can’t perform that action at this time.
0 commit comments