[darcs-devel] [issue432] test failures on Solaris

Dave Love bugs at darcs.net
Sun Apr 15 07:46:12 PDT 2007


New submission from Dave Love <fx at gnu.org>:

There are still test failures with the current source.  This is on
Solaris 10 with ghc 6.4.1.  I spent a bit of time on this but haven't
been able to debug it.  Could whoever did the tests offer suggestions?

-----
rmdir.....................NOK 14#     Failed test (rmdir.pl at line 88)      
#                   '
# darcs failed:  user error (Error applying patch to working dir:
# ./foo: removeDirectory: already exists (File exists))
# This may have left your working directory an inconsistent
# but recoverable state. If you had no un-recorded changes
# by using 'darcs revert' you should be able to make your
# working directory consistent again.
# 
# 
# Pulling from "/home/fx/darcs-unstable/tests/temp1"...
# '
#     doesn't match '(?-xism:non-empty)'
rmdir.....................ok 19/0                                            
#     Failed test (rmdir.pl at line 93)
#                   '
rmdir.....................NOK 24# darcs failed:  user error (Error applying patch to working dir:
# ./foo: removeDirectory: already exists (File exists))
# This may have left your working directory an inconsistent
# but recoverable state. If you had no un-recorded changes
# by using 'darcs revert' you should be able to make your
# working directory consistent again.
# 
# 
# '
#           matches '(?-xism:.+)'
rmdir.....................ok 34/0# Looks like you failed 2 tests of 34.      
rmdir.....................dubious                                            
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 14, 24
        Failed 2/34 tests, 94.12% okay

-----
Output from failed query_manifest.sh:

check_manifest () {
    : > files.tmp
    echo . > dirs.tmp
    echo . > files-dirs.tmp
    for x in $1 ; do
        echo "./$x" >> files.tmp
        echo "./$x" >> files-dirs.tmp
    done
    for x in $2 ; do
        echo "./$x" >> dirs.tmp
        echo "./$x" >> files-dirs.tmp
    done
    $DARCS query manifest $3 --files --no-directories | sort > darcs-files.tmp
    $DARCS query manifest $3 --no-files --directories | sort > darcs-dirs.tmp
    $DARCS query manifest $3 --files --directories | sort > darcs-files-dirs.tmp
    for x in files dirs files-dirs ; do
        sort -o sorted-$x.tmp $x.tmp
        diff sorted-$x.tmp darcs-$x.tmp
    done
}

test $DARCS || DARCS=$PWD/../darcs

rm -rf temp
mkdir temp
cd temp
$DARCS init

check_manifest "" "" "--no-pending"
check_manifest "" "" "--pending"
touch a b
$DARCS add a
check_manifest "" "" "--no-pending"
check_manifest "a" "" "--pending"
$DARCS add b
mkdir c
check_manifest "" "" "--no-pending"
1d0
< ./a

-----

----------
messages: 1586
nosy: EricKow, beschmi, droundy, fx, tommy
status: unread
title: test failures on Solaris

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue432>
____________________________________


More information about the darcs-devel mailing list