Commit 7bc1c1c2 authored by Peter Pentchev's avatar Peter Pentchev
Browse files

Move the verbose run to the test suite.

parent ee6f7515
......@@ -8,3 +8,4 @@ cppflags.patch
build-stamp.patch
cross.patch
decrease-numblocks.patch
verbose-test.patch
Description: Display the mbuffer defaults before the test.
Forwarded: not-needed
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2020-11-04
--- a/Makefile.in
+++ b/Makefile.in
@@ -104,8 +104,9 @@
test.tar:
$(TAR) cf test.tar --ignore-failed-read $(TESTTREE)
-test.md5: test.tar
+test.md5: test.tar $(TARGET)
openssl md5 < test.tar > test.md5
+ ./mbuffer -v 5 -i /etc/hostname
test0: test.md5
./mbuffer -i test.tar -p10 | ./mbuffer -q -P 90 | openssl md5 > test0.md5
......@@ -17,10 +17,6 @@ done
rm -f mbuffer Makefile
trap 'rm -f mbuffer Makefile tapetest.so idev.so' EXIT INT QUIT HUP TERM
echo 'Running `mbuffer -v 5 -i /etc/hostname` to display the default values'
mbuffer -v 5 -i /etc/hostname
echo 'Proceeding with the test'
cp /usr/bin/mbuffer ./
cp -- "$idev" "$tapetest" "$have_af" ./
sed -e 's/check:.*test0/check: test0/;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment