Commit 8698197a authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Adapted test suite to xrootd4

parent 05881074
......@@ -60,21 +60,14 @@ def xrdcpURLparam(self, nb=0):
Setup.getTag_xrdcpURLparam = xrdcpURLparam
def corexrdcp(self):
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdcp'
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdcp -np'
Setup.getTag_corexrdcp = corexrdcp
def xrdcp(self):
cmd = os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdcp'
cmd = os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdcp -np'
return [cmd, 'KRB5CCNAME=nonexistinghost ' + cmd]
Setup.getTag_xrdcp = xrdcp
# This is the old xroot client, but we still use it for the prepare test
# as the new client (3.3.x) does not provide the equivalent command. It should
# be dropped once we adopt xroot 4.0.0, which provides a prepare command.
def xrd(self):
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrd'
Setup.getTag_xrd = xrd
def xrdfs(self):
return os.environ['XROOTSYS'] + os.sep + 'bin' + os.sep + 'xrdfs'
Setup.getTag_xrdfs = xrdfs
......
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
Path: <tapeFileName>
Id: <id1>
Size: <size1>
Flags: 16 (IsReadable)
Path: <tapeFileName>
Id: 0
Size: <size1>
Flags: 12 (Other|Offline)
Path: <tapeFileName>
Id: 0
Size: <size1>
Flags: 12 (Other|Offline)
Path: <noTapeFileName>
Id: <id1>
Size: 0
Flags: 2 (IsDir)
Path: <noTapeFileName>
Id: <id1>
Size: 0
Flags: 2 (IsDir)
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
......@@ -2,7 +2,7 @@
status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'`; while [[ $status == 'CANBEMIGR' ]]; do sleep 15; status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'` ; done
stager_rm -M <tapeFileName>
stager_qry -M <tapeFileName>
<xrd> <stageHost> prepare <tapeFileName>
<xrdfs> <stageHost> prepare <tapeFileName>
stager_qry -M <tapeFileName>
status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'`; while [[ $status == 'STAGEIN' ]]; do sleep 15; status=`stager_qry -M <tapeFileName> | tail -1 | awk '{print $NF;}'` ; done
stager_qry -M <tapeFileName>
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
Path: <noTapeFileName>
Id: <id1>
Size: 0
Flags: 19 (XBitSet|IsDir|IsReadable)
Path: <noTapeFileName>
Id: <id1>
Size: 0
Flags: 19 (XBitSet|IsDir|IsReadable)
Path: <noTapeFileName>/file
Id: 0
Size: 0
Flags: 12 (Other|Offline)
Path: <noTapeFileName>/file
Id: 0
Size: 0
Flags: 12 (Other|Offline)
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed1> MB/s]
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed> MB/s]
[xrootd] Total <bytes transfered> |>...................| 0.00 % [<transfer speed1> MB/s] [xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed1> MB/s]
[xrootd] Total <bytes transfered> |====================| 100.00 % [<transfer speed2> MB/s]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment