test_make_clean 313 B

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