summaryrefslogtreecommitdiff
path: root/scripts/test_make_clean (plain)
blob: fa3a543d83436a4f087371386e7d3dcc832faa9c
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