"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/test-common.sh" between
logrotate-3.18.0.tar.xz and logrotate-3.18.1.tar.xz

About: logrotate rotates, compresses, and mails system logs.

test-common.sh  (logrotate-3.18.0.tar.xz):test-common.sh  (logrotate-3.18.1.tar.xz)
skipping to change at line 18 skipping to change at line 18
DU_APPARENT_SIZE='du -A' DU_APPARENT_SIZE='du -A'
else else
echo "no du option for apparent size found:" echo "no du option for apparent size found:"
du --apparent-size $LOGROTATE du --apparent-size $LOGROTATE
du -A $LOGROTATE du -A $LOGROTATE
exit 1 exit 1
fi fi
if command -v md5sum > /dev/null 2>&1; then if command -v md5sum > /dev/null 2>&1; then
MD5SUM=md5sum MD5SUM=md5sum
elif command -v gmd5sum > /dev/null 2>&1; then elif command -v md5 > /dev/null 2>&1; then
MD5SUM=gmd5sum MD5SUM=md5
else else
echo "no md5sum command found" echo "no md5sum/md5 command found"
exit 1 exit 1
fi fi
if stat -c %f $LOGROTATE > /dev/null 2>&1; then if stat -c %f $LOGROTATE > /dev/null 2>&1; then
STAT_MODE_FORMAT='stat -c %f' STAT_MODE_FORMAT='stat -c %f'
elif stat -f %Xp $LOGROTATE > /dev/null 2>&1; then elif stat -f %Xp $LOGROTATE > /dev/null 2>&1; then
STAT_MODE_FORMAT='stat -f %Xp' STAT_MODE_FORMAT='stat -f %Xp'
else else
echo "no stat format option found:" echo "no stat format option found:"
stat -c %f $LOGROTATE stat -c %f $LOGROTATE
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)