diff options
author | Aaron Lu <aaron.lu@intel.com> | 2017-02-06 15:29:59 +0800 |
---|---|---|
committer | Fengguang Wu <fengguang.wu@intel.com> | 2017-02-07 09:49:46 +0800 |
commit | 8998ad1b08b92e7e17f2b65ed559eb6dc9a8649f (patch) | |
tree | 537abd40ef30736d3c6888fc37242b15a58f15fc | |
parent | 59ac26e1b4c76d7747670987f3a2a4eb3c8830ea (diff) | |
download | vm-scalability-8998ad1b08b92e7e17f2b65ed559eb6dc9a8649f.tar.gz |
case-mremap-xread-rand-mt: correct the sparse file name to be removed
The sparse file we created in this case does not have any -$index so
we shouldn't add that part when removing sparse files. Fix it.
/result/vm-scalability/300s-mremap-xread-rand-mt-performance/lkp-hsw-4ep1/debian-x86_64-2016-08-31.cgz/x86_64-rhel-7.2/gcc-6/v4.8/1
stderr: rm: cannot remove '/tmp/vm-scalability-tmp/vm-scalability/sparse-mremap-xread-rand-mt-*': No such file or directory
Buglink: https://jira01.devtools.intel.com/browse/OLT-1554
Reported-by: Philip Li <philip.li@intel.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
-rwxr-xr-x | case-mremap-xread-rand-mt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/case-mremap-xread-rand-mt b/case-mremap-xread-rand-mt index d7f3664..a1cc387 100755 --- a/case-mremap-xread-rand-mt +++ b/case-mremap-xread-rand-mt @@ -13,4 +13,4 @@ create_sparse_file $SPARSE_FILE $ROTATE_BYTES $USEMEM -t $nr_task -f $SPARSE_FILE -E --prealloc --readonly --random $((ROTATE_BYTES / nr_task)) -rm $SPARSE_FILE-* +rm $SPARSE_FILE |