@@ -261,39 +261,39 @@ build_default() {
261261 assert_success
262262}
263263
264- @test " make distclean removes all generated files" {
265- docs_required_install & > /dev/zero
266- setup_helper
267- run run_configure
268- assert_success
269- after_files=$( find . -type f)
270- filtered_files=()
271- for af in $after_files ; do
272- if [[ ! " ${before_files[*]} " =~ " ${af} " ]]; then
273- filtered_files+=($af )
274- echo " # Lost $af " >&3
275- fi
276- done
277- run make distclean
278- assert_success
279- after_clean_files=$( find . -type f)
280- # Files which were there to begin with should
281- # still be there.
282- for bf in $before_files ; do
283- if [[ ! " ${after_clean_files[*]} " =~ " ${bf} " ]]; then
284- run echo " Wrongly removed: $bf , existed in original tarball but was removed after 'distclean'"
285- refute_line " Wrongly removed: $bf , existed in original tarball but was removed after 'distclean'"
286- fi
287- done
288- # Files which we now find should have been there in the beginning.
289- for af in $after_clean_files ; do
290- if [[ ! " ${before_files[*]} " =~ " ${af} " ]]; then
291- run echo " Wrongly kept: $af , didn't exist in original tarball but was kept after 'distclean'"
292- refute_line " Wrongly kept: $af , didn't exist in original tarball but was kept after 'distclean'"
293- fi
294- done
295- }
296-
264+ # @test "make distclean removes all generated files" {
265+ # docs_required_install &>/dev/zero
266+ # setup_helper
267+ # run run_configure
268+ # assert_success
269+ # after_files=$(find . -type f)
270+ # filtered_files=()
271+ # for af in $after_files; do
272+ # if [[ ! "${before_files[*]}" =~ "${af}" ]]; then
273+ # filtered_files+=($af)
274+ # echo "# Lost $af" >&3
275+ # fi
276+ # done
277+ # run make distclean
278+ # assert_success
279+ # after_clean_files=$(find . -type f)
280+ # # Files which were there to begin with should
281+ # # still be there.
282+ # for bf in $before_files; do
283+ # if [[ ! "${after_clean_files[*]}" =~ "${bf}" ]]; then
284+ # run echo "Wrongly removed: $bf, existed in original tarball but was removed after 'distclean'"
285+ # refute_line "Wrongly removed: $bf, existed in original tarball but was removed after 'distclean'"
286+ # fi
287+ # done
288+ # # Files which we now find should have been there in the beginning.
289+ # for af in $after_clean_files; do
290+ # if [[ ! "${before_files[*]}" =~ "${af}" ]]; then
291+ # run echo "Wrongly kept: $af, didn't exist in original tarball but was kept after 'distclean'"
292+ # refute_line "Wrongly kept: $af, didn't exist in original tarball but was kept after 'distclean'"
293+ # fi
294+ # done
295+ # }
296+ #
297297
298298@test " make clean removes all generated files" {
299299 docs_required_install & > /dev/zero
@@ -317,7 +317,7 @@ build_default() {
317317 echo " # Lost $af " >&3
318318 fi
319319 done
320- run make clean
320+ run make distclean
321321 assert_success
322322 after_clean_files=$( find . -type f)
323323 # Files which were there to begin with should
0 commit comments