coverage.sh: fix print_header with defaultmode tests

This commit is contained in:
Johannes 'josch' Schauer 2019-02-23 08:47:53 +01:00
parent 93cf0544c6
commit 26b1ff3fff
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -421,7 +421,7 @@ else
./run_null.sh SUDO ./run_null.sh SUDO
fi fi
print_header "mode=auto,variant=apt: pass distribution but implicitly write to stdout" print_header "mode=$defaultmode,variant=apt: pass distribution but implicitly write to stdout"
cat << END > shared/test.sh cat << END > shared/test.sh
#!/bin/sh #!/bin/sh
set -eu set -eu
@ -438,7 +438,7 @@ else
echo "HAVE_QEMU != yes -- Skipping test..." echo "HAVE_QEMU != yes -- Skipping test..."
fi fi
print_header "mode=auto,variant=apt: mirror is -" print_header "mode=$defaultmode,variant=apt: mirror is -"
cat << END > shared/test.sh cat << END > shared/test.sh
#!/bin/sh #!/bin/sh
set -eu set -eu
@ -456,7 +456,7 @@ else
./run_null.sh ./run_null.sh
fi fi
print_header "mode=auto,variant=apt: mirror is deb..." print_header "mode=$defaultmode,variant=apt: mirror is deb..."
cat << END > shared/test.sh cat << END > shared/test.sh
#!/bin/sh #!/bin/sh
set -eu set -eu
@ -474,7 +474,7 @@ else
./run_null.sh ./run_null.sh
fi fi
print_header "mode=auto,variant=apt: mirror is real file" print_header "mode=$defaultmode,variant=apt: mirror is real file"
cat << END > shared/test.sh cat << END > shared/test.sh
#!/bin/sh #!/bin/sh
set -eu set -eu
@ -493,7 +493,7 @@ else
./run_null.sh ./run_null.sh
fi fi
print_header "mode=auto,variant=apt: no mirror but data on stdin" print_header "mode=$defaultmode,variant=apt: no mirror but data on stdin"
cat << END > shared/test.sh cat << END > shared/test.sh
#!/bin/sh #!/bin/sh
set -eu set -eu