Bug #466 ยป echo-n.patch
Makefile | ||
---|---|---|
config:
|
||
@echo Building flashrom version $(VERSION)
|
||
@echo -n "C compiler found: "
|
||
@printf "C compiler found: "
|
||
@if [ $(CC_WORKING) = yes ]; \
|
||
then $(CC) --version 2>/dev/null | head -1; \
|
||
else echo no; echo Aborting.; exit 1; fi
|
util/flashrom_partial_write_test.sh | ||
---|---|---|
cp "$BIOS" "$TESTFILE"
|
||
i=0
|
||
while [ $i -lt $NUM_REGIONS ] ; do
|
||
echo -n "aligned region ${i} test: "
|
||
printf "aligned region %d test: " "${i}"
|
||
offset=$((${i} * 8192))
|
||
dd if=${ZERO_4K} of=${TESTFILE} bs=1 conv=notrunc seek=${offset} 2> /dev/null
|
||
dd if=${FF_4K} of=${TESTFILE} bs=1 conv=notrunc seek=$((${offset} + 4096)) 2> /dev/null
|
||
... | ... | |
i=0
|
||
while [ $i -lt $NUM_REGIONS ] ; do
|
||
echo -n "unaligned region ${i} test: "
|
||
printf "unaligned region %d test: " "${i}"
|
||
offset=$(($((${i} * 8192)) + 2048))
|
||
# Protect against too long write
|