Re: [PATCH 04/10] tests: replace perl usage with shell built-in

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

 



On Tue, May 01, 2018 at 10:26:00PM -0600, Andreas Dilger wrote:
> A couple of tests use perl only for generating a string of N characters
> long.  Instead, expand an environment variable to the required length.
> 
> Signed-off-by: Andreas Dilger <adilger@xxxxxxxxx>

Thanks, applied, with the following fix-up.

						- Ted

diff --git a/tests/f_detect_junk/script b/tests/f_detect_junk/script
index ab2a38cb0..12cfdfdff 100644
--- a/tests/f_detect_junk/script
+++ b/tests/f_detect_junk/script
@@ -2,6 +2,7 @@
 
 if [ "$(grep -c 'define HAVE_MAGIC_H' ../lib/config.h)" -eq 0 ]; then
 	echo "$test_name: skipped (no magic)"
+	exit 0
 fi
 
 FSCK_OPT=-fn



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux