From: Serge Hallyn Date: Sun, 22 Aug 2021 22:13:59 +0000 (-0500) Subject: add tests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=635676533cad2cffcae14a84b60def2403601064;p=thirdparty%2Fshadow.git add tests Create a container in which to run tests. Run the 'usage' test since that's all that will work so far. Also remove two defines from src/bin/passwd.rs which were breaking build. ubuntu-dev-tools is probably overkill in the container. Signed-off-by: Serge Hallyn --- diff --git a/rust-test/common/compare_file.pl b/rust-test/common/compare_file.pl new file mode 100755 index 000000000..eb498d323 --- /dev/null +++ b/rust-test/common/compare_file.pl @@ -0,0 +1,116 @@ +#!/usr/bin/perl + +open (TEMPLATE, $ARGV[0]) or die "Cannot open '".$ARGV[0]."': $!"; +my $template = join "",