mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500
add another libsmbclient test program
This commit is contained in:
parent
481abfbab4
commit
133cd3952b
@ -17,6 +17,7 @@ TESTS= testsmbc \
|
||||
testbrowse \
|
||||
testbrowse2 \
|
||||
teststat \
|
||||
teststat2 \
|
||||
testchmod \
|
||||
testutime \
|
||||
testread
|
||||
@ -47,6 +48,10 @@ teststat: teststat.o
|
||||
@echo Linking teststat
|
||||
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
|
||||
|
||||
teststat2: teststat2.o
|
||||
@echo Linking teststat2
|
||||
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
|
||||
|
||||
testchmod: testchmod.o
|
||||
@echo Linking testchmod
|
||||
@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ /usr/local/samba/lib/libsmbclient.so -lpopt $<
|
||||
|
@ -48,7 +48,7 @@ int main(int argc, char * argv[])
|
||||
return 1;
|
||||
}
|
||||
|
||||
printf("SAMBA\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
|
||||
printf("\nSAMBA\n mtime:%lu/%s ctime:%lu/%s atime:%lu/%s\n",
|
||||
st.st_mtime, ctime_r(&st.st_mtime, mtime),
|
||||
st.st_ctime, ctime_r(&st.st_ctime, ctime),
|
||||
st.st_atime, ctime_r(&st.st_atime, atime));
|
||||
|
Loading…
Reference in New Issue
Block a user