Changeset 1581


Ignore:
Timestamp:
May 23, 2012, 3:51:04 PM (7 years ago)
Author:
bruno
Message:

Adding pbcl for afio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/t/pbtest

    r1580 r1581  
    1616TESTVMDIST="fedora-16-i386"
    1717TESTVMISO="/users/bruno/iso/Fedora-16-i386-DVD.iso"
     18
     19# Sub finction to handle execution as pbtest
     20sudopbtest() {
     21
     22cmd=$1
     23
     24echo "INFO pbtest: Now running $cmd"
     25sudo su - pbtest -c "$cmd"
     26}
     27
    1828
    1929sudo rm -rf ~pbtest/* ~pbtest/.??*
     
    251261sudopbtest "killall svnserve"
    252262
    253 sudopbtest() {
    254 
    255 cmd=$1
    256 
    257 echo "INFO pbtest: Now running $cmd"
    258 sudo su - pbtest -c "$cmd"
    259 }
    260 
Note: See TracChangeset for help on using the changeset viewer.