1#!/bin/sh
2
3b=`basename $PWD`
4test "${b#busybox}" != "$b" || { echo "Must be run in busybox tree"; exit 1; }
5
6cd ..
7cp -pPR "$b" busybox.$$.test_tree
8cd busybox.$$.test_tree
9make defconfig
10make $MAKEOPTS
11make clean
12cd ..
13diff -urp "$b" busybox.$$.test_tree >busybox.$$.test_tree.diff
14cat busybox.$$.test_tree.diff
15