summaryrefslogtreecommitdiff
path: root/testsuite/server/xfer.exp
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-09 07:35:37 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-12 12:57:08 +0100
commit62a66b00b61cf4f85a81cca78e1432007b47ea11 (patch)
treeeb7503ef4a5391732b92cdff412de1c35edc1d90 /testsuite/server/xfer.exp
parentc9d929af8ba018816df69734bed1c197d0c3b7f2 (diff)
downloadsamba-62a66b00b61cf4f85a81cca78e1432007b47ea11.tar.gz
samba-62a66b00b61cf4f85a81cca78e1432007b47ea11.tar.bz2
samba-62a66b00b61cf4f85a81cca78e1432007b47ea11.zip
testsuite: Remove unused and unlikely to be revived DejaGNU tests
Diffstat (limited to 'testsuite/server/xfer.exp')
-rw-r--r--testsuite/server/xfer.exp48
1 files changed, 0 insertions, 48 deletions
diff --git a/testsuite/server/xfer.exp b/testsuite/server/xfer.exp
deleted file mode 100644
index 6d00b29885..0000000000
--- a/testsuite/server/xfer.exp
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# Test file transfer
-#
-
-# Initialisation
-
-load_lib util-defs.exp
-load_lib smbclient.exp
-load_lib env-single.exp
-
-set timeout 60
-
-# Spawn a connection
-
-if {![spawn_smbclient //$server/$share -U $user]} {
- perror "error spawning smbclient"
- return -1
-}
-
-# Create a big file, store it and fetch it again
-
-foreach { op } { "!dd if=/dev/urandom of=/tmp/file bs=1048576 count=1\r" \
- "lcd /tmp\r" "put file\r" "get file /tmp/file2\r" } {
-
- set action "doing $op"
- set output [do_smbclient $op $action]
-
- if {[regexp "ERR" $output]} {
- error $action
- puts $output
- return -1
- }
-}
-
-# Compare the two files
-
-set output [util_start "diff" "/tmp/file /tmp/file2" ""]
-
-if {[regexp "differ" $output]} {
- fail "xfertest"
- puts $output
-} else {
- pass "xfertest"
-}
-
-# Clean up temporary files
-
-file delete /tmp/file /tmp/file2