Mercurial > hg
comparison tests/test-mq-qnew.t @ 21276:25b7c760235a
tests: fix test failure on vfat
It can't handle filenames with spaces. We don't have a good hghave
test for this, so we wrap it with unix-permissions.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 08 May 2014 11:11:27 -0500 |
parents | e4f451c8c05c |
children | 4941caa9f0f8 |
comparison
equal
deleted
inserted
replaced
21275:c7e9fb881a5a | 21276:25b7c760235a |
---|---|
300 $ cat >> .hg/hgrc <<EOF | 300 $ cat >> .hg/hgrc <<EOF |
301 > [hooks] | 301 > [hooks] |
302 > pretxncommit.unexpectedabort = | 302 > pretxncommit.unexpectedabort = |
303 > EOF | 303 > EOF |
304 | 304 |
305 #if unix-permissions | |
306 | |
305 Test handling default message with the patch filename with tail whitespaces | 307 Test handling default message with the patch filename with tail whitespaces |
306 | 308 |
307 $ cat > $TESTTMP/editor.sh << EOF | 309 $ cat > $TESTTMP/editor.sh << EOF |
308 > echo "==== before editing" | 310 > echo "==== before editing" |
309 > cat \$1 | 311 > cat \$1 |
319 $ cat ".hg/patches/patch " | 321 $ cat ".hg/patches/patch " |
320 # HG changeset patch | 322 # HG changeset patch |
321 # Parent 0000000000000000000000000000000000000000 | 323 # Parent 0000000000000000000000000000000000000000 |
322 | 324 |
323 $ cd .. | 325 $ cd .. |
326 | |
327 #endif |