##// END OF EJS Templates
test-largefiles: partially adapt for Windows...
Adrian Buehlmann -
r17088:31f7dd50 default
parent child Browse files
Show More
@@ -1,5 +1,5 b''
1 $ "$TESTDIR/hghave" serve || exit 80
1 $ "$TESTDIR/hghave" serve || exit 80
2 $ USERCACHE=`pwd`/cache; export USERCACHE
2 $ USERCACHE="$TESTTMP/cache"; export USERCACHE
3 $ mkdir -p ${USERCACHE}
3 $ mkdir -p ${USERCACHE}
4 $ cat >> $HGRCPATH <<EOF
4 $ cat >> $HGRCPATH <<EOF
5 > [extensions]
5 > [extensions]
@@ -14,7 +14,7 b''
14 > patterns=glob:**.dat
14 > patterns=glob:**.dat
15 > usercache=${USERCACHE}
15 > usercache=${USERCACHE}
16 > [hooks]
16 > [hooks]
17 > precommit=echo "Invoking status precommit hook"; hg status
17 > precommit=sh -c "echo \"Invoking status precommit hook\"; hg status"
18 > EOF
18 > EOF
19
19
20 Create the repo with a couple of revisions of both large and normal
20 Create the repo with a couple of revisions of both large and normal
@@ -463,7 +463,7 b' Test pulling with --all-largefiles flag'
463 $ rm -Rf ${USERCACHE}/*
463 $ rm -Rf ${USERCACHE}/*
464 $ cd a-backup
464 $ cd a-backup
465 $ hg pull --all-largefiles
465 $ hg pull --all-largefiles
466 pulling from $TESTTMP/a
466 pulling from $TESTTMP/a (glob)
467 searching for changes
467 searching for changes
468 adding changesets
468 adding changesets
469 adding manifests
469 adding manifests
@@ -989,7 +989,7 b' Corrupt the cached largefile in r7'
989 pushing to http://localhost:$HGPORT1/
989 pushing to http://localhost:$HGPORT1/
990 searching for changes
990 searching for changes
991 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash
991 remote: largefiles: failed to put 4cdac4d8b084d0b599525cf732437fb337d422a8 into store: largefile contents do not match hash
992 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/
992 abort: remotestore: could not put $TESTTMP/r7/.hg/largefiles/4cdac4d8b084d0b599525cf732437fb337d422a8 to remote store http://localhost:$HGPORT1/ (glob)
993 [255]
993 [255]
994 $ rm -rf empty
994 $ rm -rf empty
995
995
General Comments 0
You need to be logged in to leave comments. Login now