| 1915 | |
| 1916 | |
| 1917 | int SyntheticClient::create_shared(int num) |
| 1918 | { |
| 1919 | // files |
| 1920 | UserPerm perms = client->pick_my_perms(); |
| 1921 | char d[255]; |
| 1922 | client->mkdir("test", 0755, perms); |
| 1923 | for (int n=0; n<num; n++) { |
| 1924 | snprintf(d, sizeof(d), "test/file.%d", n); |
| 1925 | client->mknod(d, 0644, perms); |
| 1926 | } |
| 1927 | |
| 1928 | return 0; |
| 1929 | } |
| 1930 | |
| 1931 | int SyntheticClient::open_shared(int num, int count) |
| 1932 | { |
nothing calls this directly
no test coverage detected