hush/scripts/test_make_clean
Denys Vlasenko 2f32bf8be6 remove defconfig. Now "make defconfig" simply uses defaults from Config.in
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2010-06-06 04:14:28 +02:00

15 lines
313 B
Bash
Executable File

#!/bin/sh
b=`basename $PWD`
test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; }
cd ..
cp -pPR "$b" busybox.$$.test_tree
cd busybox.$$.test_tree
make defconfig
make $MAKEOPTS
make clean
cd ..
diff -urp "$b" busybox.$$.test_tree >busybox.$$.test_tree.diff
cat busybox.$$.test_tree.diff