1 #!/bin/bash 2 # SPDX-License-Identifier: GPL-2.0 3 4 source _debugfs_common.sh 5 6 # Test putting non-ctx files/dirs to rm_contexts file 7 # =================================================== 8 9 dmesg -C 10 11 for file in "$DBGFS/"* 12 do 13 (echo "$(basename "$f")" > "$DBGFS/rm_contexts") &> /dev/null 14 if dmesg | grep -q BUG 15 then 16 dmesg 17 exit 1 18 fi 19 done
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.