diff options
author | Derrell Lipman <derrell.lipman@unwireduniverse.com> | 2009-02-09 12:41:29 -0500 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-02-16 09:56:58 +0100 |
commit | 0c8044736287d38893198455e2a4cdc9aaf55a43 (patch) | |
tree | 378485738a62856b4f576d246a3a918c473facfb /examples | |
parent | 960f21d7db088d79134dc31c29741a35fb7d32c4 (diff) | |
download | samba-0c8044736287d38893198455e2a4cdc9aaf55a43.tar.gz |
[Bug 6069] Add a fstatvfs function for libsmbclient
- Add initial test implementation. This works on a Linux client to determine
whether a connection's server supports UNIX CIFS. I'm eager to see what the
build farm has to say about this, specifically how many, if any, hosts don't
provide a statvfs.h file with the requisite struct statvfs.
Derrell
(cherry picked from commit ff6a1bebd589637a4aecb9c76b4e33f579d7b0df)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libsmbclient/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/libsmbclient/Makefile b/examples/libsmbclient/Makefile index 047addc8f7a..7ad28dcea0f 100644 --- a/examples/libsmbclient/Makefile +++ b/examples/libsmbclient/Makefile @@ -24,6 +24,7 @@ TESTS= testsmbc \ teststat \ teststat2 \ teststat3 \ + testfstatvfs \ testtruncate \ testchmod \ testutime \ @@ -74,6 +75,10 @@ teststat3: teststat3.o @echo Linking teststat3 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt +testfstatvfs: testfstatvfs.o + @echo Linking testfstatvfs + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt + testtruncate: testtruncate.o @echo Linking testtruncate $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBSMBCLIENT) -lpopt |