Changeset 2595


Ignore:
Timestamp:
Mar 9, 2006, 8:04:08 PM (19 years ago)
Author:
bird
Message:

hardlink checks and PATHSEP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coreutils/tests/misc/close-stdout

    r2554 r2595  
    2222fi
    2323
    24 PATH="$pwd/../..:$PATH"
     24if test -z "$PATHSEP"; then             #bird
     25    if test -n "$OS2_SHELL"; then       #bird
     26        PATHSEP=";"                     #bird
     27    else                                #bird
     28        PATHSEP=":"                     #bird
     29    fi                                  #bird
     30fi                                      #bird
     31#PATH="$pwd/../..:$PATH"        #bird
     32PATH="$pwd/../..${PATHSEP}$PATH"        #bird
    2533export PATH
    2634
     
    3341test -f b || fail=1
    3442chmod o-w . >&- || fail=1
     43if $srcdir/../is-hardlink-supported; then  #bird
    3544ln a c >&- || fail=1
     45else                                       #bird
     46ln -s a c >&- || fail=1                    #bird
     47fi                                         #bird
    3648rm c >&- || fail=1
    3749mkdir d >&- || fail=1
Note: See TracChangeset for help on using the changeset viewer.