mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Return an error code when extra files are found in filecheck:
This commit is contained in:
parent
248c2b9bf5
commit
adc032e7d8
@ -62,12 +62,15 @@ filecheck:
|
||||
rm test-place/*~; \
|
||||
for f in $(EXTRA_DIST); do \
|
||||
if test -f "$(top_srcdir)/tests/data/$$f"; then \
|
||||
rm -f test-place/$$f; \
|
||||
rm -f "test-place/$$f"; \
|
||||
else \
|
||||
echo "$$f is listed but missing!"; \
|
||||
fi \
|
||||
done; \
|
||||
echo "Local files not present in EXTRA_DIST:" ; \
|
||||
ls test-place; \
|
||||
rm -rf test-place
|
||||
! ls test-place | grep . >/dev/null ; \
|
||||
RC=$$? ; \
|
||||
rm -rf test-place ; \
|
||||
exit $$RC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user