Changeset 118603 for trunk/base/tests


Ignore:
Timestamp:
Apr 5, 2014, 8:10:48 PM (6 years ago)
Author:
cal@…
Message:

base: tracemode test: don't attempt to chown dir if not root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/test/trace/test.tcl

    r118602 r118603  
    2424    port_clean $path
    2525
    26 
    27     makeDirectory ../tracetesttmp
    28     file attributes ../tracetesttmp -owner $user
    29 
    3026    file delete -force /tmp/hello-trace
    3127    file delete -force /tmp/link-trace2
    3228    file link -symbolic /tmp/link-trace2 /usr/include/unistd.h
     29
     30    makeDirectory ../tracetesttmp
    3331    if {[getuid] == 0} {
     32                file attributes ../tracetesttmp -owner $user
    3433        exec chown -h $user /tmp/link-trace2
    3534    }
Note: See TracChangeset for help on using the changeset viewer.