FS/XFS testing framework
 help / color / mirror / Atom feed
* [PATCH] xfs/111: fix cp of missing file
@ 2014-12-20  7:50 Xing Gu
  2014-12-21 22:09 ` Dave Chinner
  2014-12-22  8:41 ` [PATCH v2] " Xing Gu
  0 siblings, 2 replies; 4+ messages in thread
From: Xing Gu @ 2014-12-20  7:50 UTC (permalink / raw)
  To: fstests; +Cc: Xing Gu

After installing the test suite, src directory only contains binary
programs in the final building directory. Here executing "cp src/itrash.c
$SCRATCH_MNT/${I}" will output "cp: cannot stat 'src/itrash.c': No
such file or directory" error message. Fix it.

Signed-off-by: Xing Gu <gux.fnst@cn.fujitsu.com>
---
 tests/xfs/111 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/xfs/111 b/tests/xfs/111
index bedead8..a900184 100755
--- a/tests/xfs/111
+++ b/tests/xfs/111
@@ -53,7 +53,7 @@ echo Create some files
 I=0
 while [ $I -lt 1000 ]
 do
-    cp src/itrash.c $SCRATCH_MNT/${I}
+    cp src/itrash* $SCRATCH_MNT/${I}
     let I=$I+1
 done
 umount $SCRATCH_DEV
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-22  8:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-20  7:50 [PATCH] xfs/111: fix cp of missing file Xing Gu
2014-12-21 22:09 ` Dave Chinner
2014-12-22  2:09   ` gux.fnst
2014-12-22  8:41 ` [PATCH v2] " Xing Gu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox