From 89c07802de0cce49757ab8fb62191c14ac6393a3 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sat, 12 Jan 2008 15:47:10 +0000 Subject: [PATCH] Add common utility to compare the password and group files (with support of variable data (password salt, date, etc.)) --- tests/common/compare_file.pl | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 tests/common/compare_file.pl diff --git a/tests/common/compare_file.pl b/tests/common/compare_file.pl new file mode 100755 index 00000000..349f9457 --- /dev/null +++ b/tests/common/compare_file.pl @@ -0,0 +1,46 @@ +#!/usr/bin/perl + +open (TEMPLATE, $ARGV[0]) or die "Cannot open '".$ARGV[0]."': $!"; +my $template = join "",