xref: /aosp_15_r20/external/ltp/lib/newlib_tests/test_kconfig.sh (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker#!/bin/sh
2*49cdfc7eSAndroid Build Coastguard Worker
3*49cdfc7eSAndroid Build Coastguard Workerecho "Attempting to parse currently running kernel config"
4*49cdfc7eSAndroid Build Coastguard Worker./test_kconfig
5*49cdfc7eSAndroid Build Coastguard Workerecho
6*49cdfc7eSAndroid Build Coastguard Worker
7*49cdfc7eSAndroid Build Coastguard Workerfor i in config0*; do
8*49cdfc7eSAndroid Build Coastguard Worker	head -n 1 "$i"
9*49cdfc7eSAndroid Build Coastguard Worker	KCONFIG_PATH="$i" ./test_kconfig
10*49cdfc7eSAndroid Build Coastguard Worker	echo
11*49cdfc7eSAndroid Build Coastguard Workerdone
12