@@ -91,7 +91,7 @@ test_expect_success setup '
91
91
git checkout -- test test.t test.i &&
92
92
93
93
echo "content-test2" >test2.o &&
94
- echo "content-test3 - filename with special characters" >"test3 ' \' ' sq' \' ' ,\$x.o"
94
+ echo "content-test3 - filename with special characters" >"test3 ' \' ' sq' \' ' ,\$x= .o"
95
95
'
96
96
97
97
script=' s/^\$Id: \([0-9a-f]*\) \$/\1/p'
@@ -357,12 +357,12 @@ test_expect_success PERL 'required process filter should filter data' '
357
357
cp "$TEST_ROOT/test.o" test.r &&
358
358
cp "$TEST_ROOT/test2.o" test2.r &&
359
359
mkdir testsubdir &&
360
- cp "$TEST_ROOT/test3 ' \' ' sq' \' ' ,\$x.o" "testsubdir/test3 ' \' ' sq' \' ' ,\$x.r" &&
360
+ cp "$TEST_ROOT/test3 ' \' ' sq' \' ' ,\$x= .o" "testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r" &&
361
361
>test4-empty.r &&
362
362
363
363
S=$(file_size test.r) &&
364
364
S2=$(file_size test2.r) &&
365
- S3=$(file_size "testsubdir/test3 ' \' ' sq' \' ' ,\$x.r") &&
365
+ S3=$(file_size "testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r") &&
366
366
367
367
filter_git add . &&
368
368
cat >expected.log <<-EOF &&
@@ -371,7 +371,7 @@ test_expect_success PERL 'required process filter should filter data' '
371
371
IN: clean test.r $S [OK] -- OUT: $S . [OK]
372
372
IN: clean test2.r $S2 [OK] -- OUT: $S2 . [OK]
373
373
IN: clean test4-empty.r 0 [OK] -- OUT: 0 [OK]
374
- IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x.r $S3 [OK] -- OUT: $S3 . [OK]
374
+ IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r $S3 [OK] -- OUT: $S3 . [OK]
375
375
STOP
376
376
EOF
377
377
test_cmp_count expected.log rot13-filter.log &&
@@ -383,23 +383,23 @@ test_expect_success PERL 'required process filter should filter data' '
383
383
IN: clean test.r $S [OK] -- OUT: $S . [OK]
384
384
IN: clean test2.r $S2 [OK] -- OUT: $S2 . [OK]
385
385
IN: clean test4-empty.r 0 [OK] -- OUT: 0 [OK]
386
- IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x.r $S3 [OK] -- OUT: $S3 . [OK]
386
+ IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r $S3 [OK] -- OUT: $S3 . [OK]
387
387
IN: clean test.r $S [OK] -- OUT: $S . [OK]
388
388
IN: clean test2.r $S2 [OK] -- OUT: $S2 . [OK]
389
389
IN: clean test4-empty.r 0 [OK] -- OUT: 0 [OK]
390
- IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x.r $S3 [OK] -- OUT: $S3 . [OK]
390
+ IN: clean testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r $S3 [OK] -- OUT: $S3 . [OK]
391
391
STOP
392
392
EOF
393
393
test_cmp_count expected.log rot13-filter.log &&
394
394
395
- rm -f test2.r "testsubdir/test3 ' \' ' sq' \' ' ,\$x.r" &&
395
+ rm -f test2.r "testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r" &&
396
396
397
397
filter_git checkout --quiet --no-progress . &&
398
398
cat >expected.log <<-EOF &&
399
399
START
400
400
init handshake complete
401
401
IN: smudge test2.r $S2 [OK] -- OUT: $S2 . [OK]
402
- IN: smudge testsubdir/test3 ' \' ' sq' \' ' ,\$x.r $S3 [OK] -- OUT: $S3 . [OK]
402
+ IN: smudge testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r $S3 [OK] -- OUT: $S3 . [OK]
403
403
STOP
404
404
EOF
405
405
test_cmp_exclude_clean expected.log rot13-filter.log &&
@@ -420,14 +420,14 @@ test_expect_success PERL 'required process filter should filter data' '
420
420
IN: smudge test.r $S [OK] -- OUT: $S . [OK]
421
421
IN: smudge test2.r $S2 [OK] -- OUT: $S2 . [OK]
422
422
IN: smudge test4-empty.r 0 [OK] -- OUT: 0 [OK]
423
- IN: smudge testsubdir/test3 ' \' ' sq' \' ' ,\$x.r $S3 [OK] -- OUT: $S3 . [OK]
423
+ IN: smudge testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r $S3 [OK] -- OUT: $S3 . [OK]
424
424
STOP
425
425
EOF
426
426
test_cmp_exclude_clean expected.log rot13-filter.log &&
427
427
428
428
test_cmp_committed_rot13 "$TEST_ROOT/test.o" test.r &&
429
429
test_cmp_committed_rot13 "$TEST_ROOT/test2.o" test2.r &&
430
- test_cmp_committed_rot13 "$TEST_ROOT/test3 ' \' ' sq' \' ' ,\$x.o" "testsubdir/test3 ' \' ' sq' \' ' ,\$x.r"
430
+ test_cmp_committed_rot13 "$TEST_ROOT/test3 ' \' ' sq' \' ' ,\$x= .o" "testsubdir/test3 ' \' ' sq' \' ' ,\$x= .r"
431
431
)
432
432
'
433
433
0 commit comments