Re: [PATCH 4/5] tests: fix swap_super path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/22/21 2:29 PM, Sudhakar Panneerselvam wrote:
> This fixes '04r5swap' test.
> 
> Signed-off-by: Sudhakar Panneerselvam <sudhakar.panneerselvam@xxxxxxxxxx>
> ---
>  tests/04r5swap | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/04r5swap b/tests/04r5swap
> index 5373a60725fb..8c6a97ba7339 100644
> --- a/tests/04r5swap
> +++ b/tests/04r5swap
> @@ -7,7 +7,7 @@ mdadm -S $md0
>  
>  mdadm -E --metadata=0 $dev1  > $targetdir/d1
>  for d in $dev0 $dev1 $dev2 $dev3
> -do $dir/swap_super $d
> +do $PWD/swap_super $d
>  done
>  mdadm -E --metadata=0.swap  $dev1  > $targetdir/d1s
>  diff -u $targetdir/d1 $targetdir/d1s
> 

There are a ton of test cases referencing $dir. I'd say either set $dir
correctly or fix all of them.

Thanks,
Jes




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux