summaryrefslogtreecommitdiff
path: root/testsuite/server/rename.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/rename.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/rename.exp')
-rw-r--r--testsuite/server/rename.exp59
1 files changed, 0 insertions, 59 deletions
diff --git a/testsuite/server/rename.exp b/testsuite/server/rename.exp
deleted file mode 100644
index 77e7297776..0000000000
--- a/testsuite/server/rename.exp
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# Test misc file operations
-#
-
-# Initialisation
-
-load_lib env-single.exp
-load_lib smbclient.exp
-
-set timeout 10
-
-# Spawn a connection
-
-if {![spawn_smbclient //$server/$share -U $user]} {
- perror "error spawning smbclient"
- return -1
-}
-
-# Do wildcard rename test
-
-foreach { op } {"!touch /tmp/test.out\r" "lcd /tmp\r" "rm test.out\r" \
- "put test.out\r"} {
-
- set action "doing $op"
- set output [do_smbclient $op $action]
-
- if {[regexp "ERR" $output]} {
- perror $action
- puts $output
- return -1;
- }
-}
-
-file delete "/tmp/test.out"
-
-# Perform rename
-
-set output [do_smbclient "rename *.out *.dat\r" "wildcard rename"]
-
-if {[regexp "ERR" $output]} {
- perror "wildcard rename didn't work"
- return -1
-}
-
-# Check it worked
-
-set testname "wildcard match"
-set output [do_smbclient "dir\r" "wildcard rename check"]
-
-if {[regexp "test.dat" $output]} {
- pass $testname
-} else {
- fail $testname
-}
-
-# Clean up
-
-set op "rm test.dat\r"
-do_smbclient $op "doing $op"