lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1413990417-18285-2-git-send-email-dmonakhov@openvz.org>
Date:	Wed, 22 Oct 2014 19:06:57 +0400
From:	Dmitry Monakhov <dmonakhov@...nvz.org>
To:	linux-ext4@...r.kernel.org
Cc:	tytso@....edu, root <root@...7build (none) >
Subject: [PATCH 2/2] xfstests-bld: test-apliance add castomization options

From: root <root@...7build.(none)>

Add a possibility to customize variables similar to kvm-xfstests/config.custom
One can add local mirrors to speedup image generation
---
 kvm-xfstests/test-appliance/gen-root-image |    3 +++
 kvm-xfstests/test-appliance/gen-test-image |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/kvm-xfstests/test-appliance/gen-root-image b/kvm-xfstests/test-appliance/gen-root-image
index 977c4c2..516b7b5 100644
--- a/kvm-xfstests/test-appliance/gen-root-image
+++ b/kvm-xfstests/test-appliance/gen-root-image
@@ -12,6 +12,9 @@ RAW_ROOT_FS=$DIR/root_fs.raw
 ROOT_FS=$DIR/root_fs.img
 COMPAT="-o compat=0.10"
 
+if test -f $DIR/config.custom ; then
+   . $DIR/config.custom
+fi
 
 if test $(df -k /tmp | tail -1 | awk '{print $4}') -gt 350000
 then
diff --git a/kvm-xfstests/test-appliance/gen-test-image b/kvm-xfstests/test-appliance/gen-test-image
index ab02592..fde1798 100755
--- a/kvm-xfstests/test-appliance/gen-test-image
+++ b/kvm-xfstests/test-appliance/gen-test-image
@@ -8,6 +8,9 @@ TEST_FS=$DIR/test_fs.img
 TESTDIR=$DIR/testdir
 COMPAT="-o compat=0.10"
 
+if test -f $DIR/config.custom ; then
+   . $DIR/config.custom
+fi
 
 if test $(df -k /tmp | tail -1 | awk '{print $4}') -gt 350000
 then
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ