Denys Vlasenko | 2f32bf8 | 2010-06-06 04:14:28 +0200 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | b=`basename $PWD` | ||||
4 | test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; } | ||||
5 | |||||
6 | cd .. | ||||
7 | cp -pPR "$b" busybox.$$.test_tree | ||||
8 | cd busybox.$$.test_tree | ||||
9 | make defconfig | ||||
10 | make $MAKEOPTS | ||||
11 | make clean | ||||
12 | cd .. | ||||
13 | diff -urp "$b" busybox.$$.test_tree >busybox.$$.test_tree.diff | ||||
14 | cat busybox.$$.test_tree.diff |