diff options
author | Michael Scherle | 2022-09-13 17:25:33 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-13 18:26:36 +0200 |
commit | 4e6ef06945c74198c918c1711c82c84a83ddb870 (patch) | |
tree | f687ae516639d9f36c9a3540cfdbd3159c6a16f9 /src/cowtest/main.c | |
parent | github: removed rpm from test workflow (diff) | |
download | dnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.tar.gz dnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.tar.xz dnbd3-4e6ef06945c74198c918c1711c82c84a83ddb870.zip |
[FUSE] Fixed cow daemon issue
Diffstat (limited to 'src/cowtest/main.c')
-rw-r--r-- | src/cowtest/main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cowtest/main.c b/src/cowtest/main.c index 842197c..c2e3161 100644 --- a/src/cowtest/main.c +++ b/src/cowtest/main.c @@ -1114,10 +1114,8 @@ static const struct option longOpts[] = { void printUsageStandardTest() { printf( "The standard test, tests certain edge cases. Here the previously prepared file (created with -c) must be mounted via the dnbd3 server.\n"); - printf( "\n" ); printf( "The test performs certain read, write and resize operations to ensure functionality and test for edge cases.\n" ); printf( "\n" ); - printf( "\n" ); printf( "Instructions on how to use the standard test: \n" ); printf( "1. Generate the test image with -c <path> and copy it to the image location of the dnbd3 server. Also make sure that the cow servers OriginalImageDirectory points to the same Directory or copied in that Directory too. This step is only needed once for setting up.\n" ); printf( "2. Start the dnbd3 and cow server.\n" ); @@ -1134,14 +1132,13 @@ void printUsageRandomTest() printf( "For the random test, a test file (created with -c) is mounted via the dnbd3 server and a copy of it on the normal hard disk is required."); printf( "The test performs random identical write and size changes on both test files. When the test is cancelled (ctrl+c), both files are tested for equality. \n" ); printf( "\n" ); - printf( "\n" ); printf( "Instructions on how to use the random test: \n" ); printf( "1. Generate the test image with -c <path> and copy it to the image location of the dnbd3 server. Also make sure that the cow servers OriginalImageDirectory points to the same Directory or copied in that Directory too. This step is only needed once for setting up.\n" ); printf( "2. Copy the generated image to another location.\n" ); printf( "3. Start the dnbd3 and cow server.\n" ); printf( "4. Mount the image in cow mode.\n" ); printf( "5. Run the test with -t <mountedFile> <normalFile>, where the <mountedFile> points to the mounted image and <normalFile> points to the copied image on the disk.\n" ); - printf( "6. After some time press enter and both images will be compared for equalness." ); + printf( "6. After some time press strg+c and both images will be compared for equalness.\n" ); printf( "7. Unmount the image and merge.\n" ); printf( "8. Run -x <mergedFile> <normalFile> where the <mergedFile> points to the merged image and <normalFile> points to the copied image on the disk. This will verify that the merged image is equal to the image on the disk.\n" ); } @@ -1157,7 +1154,7 @@ void printUsage() printf( " -d --delay <seconds> Delay in Seconds for multiple block write in the standard test.\n" ); printf( " -t --test <file> Runs the standard test procedure. \n" ); printf( " -v --verify <file> verifies a file. \n" ); - printf( " -r --randomTest <mountedFile> <normalFile> randomly writes in both file's and after cancel(ENTER) compares them if they are equal.\n" ); + printf( " -r --randomTest <mountedFile> <normalFile> randomly writes in both file's and after cancel(strg+c) compares them if they are equal.\n" ); printf( " -y --minSizePercent <percent> sets the minimum size in percent(integer) the file will be reduced to in the random test.\n" ); printf( " -z --maxSizePercent <percent> sets the maximum size in percent(integer) the file will be enlarged to in the random test.\n" ); printf( " -x --compare <mountedFile> <normalFile> compares two files for equalness.\n" ); |