Changeset 59328d0 in mod_gnutls
- Timestamp:
- Oct 4, 2020, 6:27:19 AM (2 years ago)
- Branches:
- asyncio, master
- Children:
- 895c9e4
- Parents:
- 1b07bd1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/newtest
r1b07bd1 r59328d0 5 5 confirmed=0 6 6 7 while [ "$ confirmed" -eq 0 ]; do8 read -e -p " describe your new test briefly: " -i "${tname}" TEST_NAME7 while [ "${confirmed}" -eq 0 ]; do 8 read -e -p "Describe your new test briefly: " -i "${tname}" TEST_NAME 9 9 tname="${TEST_NAME// /_}" 10 10 … … 13 13 newnum=$((newnum + 1)) 14 14 done 15 newname="$(printf "%02d_%s" "${newnum}" "$ tname")"15 newname="$(printf "%02d_%s" "${newnum}" "${tname}")" 16 16 17 read -p " your new test will be named tests/$newname. OK? [Y/n]"18 if [ "$REPLY" == "" ] || [ "${REPLY/Y/y}" == "y" ]; then17 read -p "Your new test will be named tests/$newname. OK? [Y/n]" 18 if [ -z "${REPLY}" ] || [ "${REPLY,}" == "y" ]; then 19 19 confirmed=1 20 20 fi 21 21 done 22 22 23 cp -a tests/00_basic "tests/$ newname"23 cp -a tests/00_basic "tests/${newname}" 24 24 # derive script name, the actual script will be generated by make 25 25 newscript="test-${newname}.bash"
Note: See TracChangeset
for help on using the changeset viewer.