mirror of
https://github.com/ceph/ceph
synced 2025-02-22 18:47:18 +00:00
qa/fsstress.sh: fix 'cp not writing through dangling symlink'
On some test machines, /usr/lib/ltp/testcases/bin/fsstress is dangling symlink. 'cp -f' is impotent in this case. Fixes: #12710 Signed-off-by: Yan, Zheng <zyan@redhat.com>
This commit is contained in:
parent
c3de0affcb
commit
479f2a760b
@ -11,7 +11,7 @@ then
|
||||
cd /tmp/fsstress/ltp-full-20091231/testcases/kernel/fs/fsstress
|
||||
make
|
||||
sudo mkdir -p /usr/lib/ltp/testcases/bin
|
||||
sudo cp -avf /tmp/fsstress/ltp-full-20091231/testcases/kernel/fs/fsstress/fsstress /usr/lib/ltp/testcases/bin/fsstress
|
||||
sudo cp -av --remove-destination /tmp/fsstress/ltp-full-20091231/testcases/kernel/fs/fsstress/fsstress /usr/lib/ltp/testcases/bin/fsstress
|
||||
sudo chmod 755 /usr/lib/ltp/testcases/bin/fsstress
|
||||
rm -Rf /tmp/fsstress
|
||||
cd $path
|
||||
|
Loading…
Reference in New Issue
Block a user