<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, Piotr.<br>
    Sorry for the late reply.<br>
    <br>
    <div class="moz-cite-prefix">On 16/1/12 下午9:28, Piotr Caban wrote:<br>
    </div>
    <blockquote cite="mid:5694FF70.6030203@gmail.com" type="cite">On
      01/11/16 14:56, YongHao Hu wrote:
      <br>
      <blockquote type="cite">+    delete_flag = 1;
        <br>
        +    for(i=0; i<sizeof(tests)/sizeof(tests[0]); i++) {
        <br>
        +        errno = 0xdeadbeef;
        <br>
        +        SetLastError(0xdeadbeef);
        <br>
        +        ret = p_tr2_sys__Symlink(tests[i].existing_path,
        tests[i].new_path);
        <br>
        +        if(ret==ERROR_PRIVILEGE_NOT_HELD ||
        ret==ERROR_INVALID_FUNCTION) {
        <br>
        +            delete_flag = 0;
        <br>
        +            tests[i].last_error = ret;
        <br>
        +            win_skip("Privilege not held or symbolic link not
        supported, skipping symbolic link tests.\n");
        <br>
      </blockquote>
      I think it would be nicer if the tests are really skipped in this
      case. Please detect such case and return from the function instead
      of adding workarounds in the code for it.
      <br>
      <br>
    </blockquote>
    <meta charset="utf-8">
    Could you explain a bit more details?<br>
    Thanks.<br>
    <br>
  </body>
</html>