repo.or.cz
/
busybox-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
cut: code shrink
[busybox-git.git]
/
scripts
/
test_make_clean
blob
fa3a543d83436a4f087371386e7d3dcc832faa9c
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