Diff

Differences From Artifact [02642024b3]:

To Artifact [d2dcdb02e1]:


     7      7   # Define build and web paths
     8      8   KITCREATORFOSSIL="/web/customers/kitcreator.rkeene.org/repo/kitcreator.repo"
     9      9   WEBROOTDIR="/web/rkeene/devel/kitcreator/kitbuild"
    10     10   MARKERFILE="/web/customers/kitcreator.rkeene.org/repo/__AUTO_TESTS_RUNNING__"
    11     11   TMPWORKDIR="${TMPDIR:-/var/tmp}/kitcreator-test-$$${RANDOM}${RANDOM}${RANDOM}"
    12     12   export KITCREATORFOSSIL WEBROOTDIR MARKERFILE TMPWORKDIR
    13     13   
    14         -# Determine change of fossil revision
    15         -FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
           14  +# Determine change of fossil revision on trunk
           15  +FOSSIL_CHANGE="$(fossil timeline --repository "${KITCREATORFOSSIL}" children trunk -n 1 -t ci | grep '^[0-9:]* \[' | sed 's@^[0-9:]* \[\([0-9a-f]*\)\].*$@\1@')"
    16     16   TESTNAME="fossil_${FOSSIL_CHANGE}"
    17     17   export FOSSIL_CHANGE TESTNAME
    18     18   
    19     19   # Verify sanity
    20     20   issane=1
    21     21   if [ -z "${FOSSIL_CHANGE}" ]; then
    22     22   	echo "Unable to determine name of latest revision, likely missing Kitcreator Fossil Repo: ${KITCREATORFOSSIL}" >&2