[Webkit-unassigned] [Bug 31536] New: GitTest.test_create_binary_patch fails if /tmp is symlink

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 02:10:14 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31536

           Summary: GitTest.test_create_binary_patch fails if /tmp is
                    symlink
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hamaji at chromium.org


It seems git add /tmp/.../foo fails if /tmp is a symbolic link because git
considers this operation is done from outside the repository. For example,
typical Mac's /tmp is /private/tmp. In this case, this operation is trying to
modify /tmp_git_test_checkout/foo from /private/tmp/tmp_git_test_checkout/,
which git dislikes.

> ./WebKitTools/Scripts/run-webkit-unittests GitTest.test_create_binary_patch
E
======================================================================
ERROR: test_create_binary_patch (modules.scm_unittest.GitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/hamaji/GitKit/WebKitTools/Scripts/modules/scm_unittest.py", line
569, in test_create_binary_patch
    run(['git', 'add', test_file_path])
  File "/Users/hamaji/GitKit/WebKitTools/Scripts/modules/scm_unittest.py", line
48, in run
    return SCM.run_command(args, cwd=cwd)
  File "/Users/hamaji/GitKit/WebKitTools/Scripts/modules/scm.py", line 138, in
run_command
    error_handler(script_error)
  File "/Users/hamaji/GitKit/WebKitTools/Scripts/modules/scm.py", line 109, in
default_error_handler
    raise error
ScriptError: Failed to run "['git', 'add',
'/tmp/tmpM4wgJGgit_test_checkout/binary_file']" exit_code: 128

----------------------------------------------------------------------
Ran 1 test in 6.193s

FAILED (errors=1)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list