forked from josch/mmdebstrap
coverage.sh: fix print_header with defaultmode tests
This commit is contained in:
parent
93cf0544c6
commit
26b1ff3fff
1 changed files with 5 additions and 5 deletions
10
coverage.sh
10
coverage.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue