Changeset 2604


Ignore:
Timestamp:
Mar 10, 2006, 1:10:23 AM (19 years ago)
Author:
bird
Message:

Made it work on OS/2. (access denied errors mostly, caused by messing with $tmp_in which is opened read only by the shell for input redirection.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coreutils/tests/help-version

    r2554 r2604  
    8888tmp_in=in-$$
    8989tmp_in2=in2-$$
     90tmp_in3=in3-$$ #bird
    9091tmp_dir=dir-$$
    9192tmp_out=out-$$
     
    99100tr_args='a a'
    100101
    101 chmod_args="a+x $tmp_in"
     102#chmod_args="a+x $tmp_in"                   # bird
     103chmod_args="a+x $tmp_in2"                   # bird - access denied
    102104# Punt on these.
    103105chgrp_args=--version
     
    114116diff3_args="$tmp_in $tmp_in2 $tmp_in2"
    115117cp_args="$tmp_in $tmp_in2"
    116 ln_args="$tmp_in ln-target"
     118#ln_args="$tmp_in ln-target"                # bird
     119if $srcdir/is-hardlink-supported; then      # bird
     120ln_args="$tmp_in ln-target"                 # bird
     121else                                        # bird
     122ln_args="-s $tmp_in ln-target"              # bird
     123fi                                          # bird
    117124ginstall_args="$tmp_in $tmp_in2"
    118 mv_args="$tmp_in $tmp_in2"
     125#mv_args="$tmp_in $tmp_in2"                 # bird
     126mv_args="$tmp_in2 $tmp_in3"                 # bird - access denied
    119127mkdir_args=$tmp_dir/subdir
    120128rmdir_args=$tmp_dir
    121 rm_args=$tmp_in
    122 shred_args=$tmp_in
     129#rm_args=$tmp_in                            # bird
     130rm_args=$tmp_in2                            # bird - access denied
     131#shred_args=$tmp_in                         # bird
     132shred_args=$tmp_in2                         # bird - access denied
    123133touch_args=$tmp_in2
    124134
     
    157167
    158168stat_args=$tmp_in
    159 unlink_args=$tmp_in
     169#unlink_args=$tmp_in                        # bird
     170unlink_args=$tmp_in2                        # bird - access denied
    160171lbracket_args=": ]"
    161172
     
    174185    : # ok
    175186  else
    176     echo FAIL: $i
    177     fail=1
     187    case $i in                                  # bird
     188      link|pinky|whoami|who|users)              # bird
     189        echo "IGNORED: $i";;                    # bird
     190      *)                                        # bird
     191        echo "FAIL: $i"                         # bird
     192        fail=1;;                                # bird
     193    esac                                        # bird
     194   
    178195  fi
    179   rm -rf $tmp_in $tmp_in2 $tmp_out $tmp_dir
     196  rm -rf $tmp_in $tmp_in2 $tmp_out $tmp_dir $tmp_in3 # bird (in3)
    180197done
    181198
Note: See TracChangeset for help on using the changeset viewer.