Package: rpmstrap
Version: 0.5.2-2

Hi,

I think rpmstrap really needs some regression testing.  debootstrap
currently undergoes a lot of regression testing, and that's why it's
achieving its current high quality standard.



In the current form, I've had 

SUCCESS centos4
SUCCESS heidelberg
SUCCESS mandriva10
SUCCESS sl304
FAIL centos3 --apparently genuinely fails
FAIL pdk -- needs some special command-line parameter

... and I stopped here

Something like the following would work:


#!/bin/bash
# run the test!

# directory structure
# result/run-test.sh: this file
# result/summary.txt: summary
# work/ : chroots

set -ex

[ `id -u` = 0 ]
: > summary.txt

mkdir ../work

for A in /usr/lib/rpmstrap/scripts/*; do
    echo Building ${A#/usr/lib/rpmstrap/scripts/}
    DIST=${A#/usr/lib/rpmstrap/scripts/}
    mkdir "../work/${DIST}"
    ( cd "../work/${DIST}"; 
        if rpmstrap --verbose "${DIST}" ./; then
            echo "SUCCESS ${DIST}" >> ../../result/summary.txt
        else
            echo "FAIL    ${DIST}" >> ../../result/summary.txt
        fi
    ) 2>&1 | tee log.${DIST}
done



regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to