diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-08-04 11:12:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-08-04 11:40:31 +1000 |
commit | 8f110d30517374514c80d9c69e3451adebb74382 (patch) | |
tree | 1fae12b45d7f080f65c5024d98a67a471ee29af6 /source4 | |
parent | 3641978dfa88398dbc494845fe611dd87f2317b7 (diff) | |
download | samba-8f110d30517374514c80d9c69e3451adebb74382.tar.gz samba-8f110d30517374514c80d9c69e3451adebb74382.tar.bz2 samba-8f110d30517374514c80d9c69e3451adebb74382.zip |
Use smbclient binary for the test file in smbclient test
In the vein hope that a larger file might show problems better than a
small file.
Andrew Bartlett
Diffstat (limited to 'source4')
-rwxr-xr-x | source4/client/tests/test_smbclient.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/client/tests/test_smbclient.sh b/source4/client/tests/test_smbclient.sh index 7775422e33..20ecc18707 100755 --- a/source4/client/tests/test_smbclient.sh +++ b/source4/client/tests/test_smbclient.sh @@ -43,13 +43,8 @@ testit "share and server list" $VALGRIND $smbclient -L $SERVER $CONFIGURATION - testit "share and server list anonymously" $VALGRIND $smbclient -N -L $SERVER $CONFIGURATION $@ || failed=`expr $failed + 1` -# Generate random file -cat >tmpfile<<EOF -foo -bar -bloe -blah -EOF +# Use the smbclient binary as our test file +cat $smbclient >tmpfile # put that file runcmd "MPutting file" 'mput tmpfile' || failed=`expr $failed + 1` |