public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic/449: remove unused _require_test
@ 2017-07-24  6:57 Xiao Yang
  2017-07-30  3:27 ` Ernesto A. Fernández
  0 siblings, 1 reply; 4+ messages in thread
From: Xiao Yang @ 2017-07-24  6:57 UTC (permalink / raw)
  To: fstests; +Cc: Xiao Yang

Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
---
 tests/generic/449 | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/generic/449 b/tests/generic/449
index fb776b3..755a84a 100755
--- a/tests/generic/449
+++ b/tests/generic/449
@@ -52,7 +52,6 @@ rm -f $seqres.full
 _supported_fs generic
 _supported_os Linux
 _require_scratch
-_require_test
 _require_acls
 _require_attrs
 
-- 
1.8.3.1




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

* Re: [PATCH] generic/449: remove unused _require_test
  2017-07-24  6:57 [PATCH] generic/449: remove unused _require_test Xiao Yang
@ 2017-07-30  3:27 ` Ernesto A. Fernández
  2017-07-31  3:38   ` Xiao Yang
  0 siblings, 1 reply; 4+ messages in thread
From: Ernesto A. Fernández @ 2017-07-30  3:27 UTC (permalink / raw)
  To: Xiao Yang; +Cc: fstests

On Mon, Jul 24, 2017 at 02:57:38PM +0800, Xiao Yang wrote:
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
>  _supported_fs generic
>  _supported_os Linux
>  _require_scratch
> -_require_test
>  _require_acls
>  _require_attrs

Hi, I wrote that test, thank you for taking the time to review it.

It would seem that _require_acls uses the test device, things could get
weird if it's not there.

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

* Re: [PATCH] generic/449: remove unused _require_test
  2017-07-30  3:27 ` Ernesto A. Fernández
@ 2017-07-31  3:38   ` Xiao Yang
  2017-07-31  4:59     ` Ernesto A. Fernández
  0 siblings, 1 reply; 4+ messages in thread
From: Xiao Yang @ 2017-07-31  3:38 UTC (permalink / raw)
  To: "Ernesto A. Fernández"; +Cc: fstests, Eryu Guan

On 2017/07/30 11:27, Ernesto A. Fernández wrote:
> On Mon, Jul 24, 2017 at 02:57:38PM +0800, Xiao Yang wrote:
>> Signed-off-by: Xiao Yang<yangx.jy@cn.fujitsu.com>
>>   _supported_fs generic
>>   _supported_os Linux
>>   _require_scratch
>> -_require_test
>>   _require_acls
>>   _require_attrs
> Hi, I wrote that test, thank you for taking the time to review it.
>
> It would seem that _require_acls uses the test device, things could get
> weird if it's not there.
>
>
Hi Ernesto A and Eryu,

init_rc() have checked if TEST_DEV existed and was mounted, and we 
introduced _require_test to check
file system consistency on TEST_DEV after running tests.   I think it's 
not necessary to add _require_test.

I'm not sure about it, so cc Eryu to confirm it.

Thanks,
Xiao Yang.




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

* Re: [PATCH] generic/449: remove unused _require_test
  2017-07-31  3:38   ` Xiao Yang
@ 2017-07-31  4:59     ` Ernesto A. Fernández
  0 siblings, 0 replies; 4+ messages in thread
From: Ernesto A. Fernández @ 2017-07-31  4:59 UTC (permalink / raw)
  To: Xiao Yang; +Cc: fstests, Eryu Guan, Ernesto A. Fernández

On Mon, Jul 31, 2017 at 11:38:43AM +0800, Xiao Yang wrote:
> On 2017/07/30 11:27, Ernesto A. Fernández wrote:
> >On Mon, Jul 24, 2017 at 02:57:38PM +0800, Xiao Yang wrote:
> >>Signed-off-by: Xiao Yang<yangx.jy@cn.fujitsu.com>
> >>  _supported_fs generic
> >>  _supported_os Linux
> >>  _require_scratch
> >>-_require_test
> >>  _require_acls
> >>  _require_attrs
> >Hi, I wrote that test, thank you for taking the time to review it.
> >
> >It would seem that _require_acls uses the test device, things could get
> >weird if it's not there.
> >
> >
> Hi Ernesto A and Eryu,
> 
> init_rc() have checked if TEST_DEV existed and was mounted, and we
> introduced _require_test to check
> file system consistency on TEST_DEV after running tests.   I think it's not
> necessary to add _require_test.

Ah, I understand now, you are right. My confusion was because _require_test
makes the whole check for TEST_DEV again, and even tries to mount it. I
don't know why that is. Also the header comment of _require_test doesn't
mention the consistency check, perhaps it should.

> I'm not sure about it, so cc Eryu to confirm it.
> 
> Thanks,
> Xiao Yang.

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

end of thread, other threads:[~2017-07-31  5:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-24  6:57 [PATCH] generic/449: remove unused _require_test Xiao Yang
2017-07-30  3:27 ` Ernesto A. Fernández
2017-07-31  3:38   ` Xiao Yang
2017-07-31  4:59     ` Ernesto A. Fernández

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