mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 05:02:46 +00:00
cleanup tests
This commit is contained in:
parent
9f5f061c22
commit
517e600681
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
#### $$VERSION$$ v0.98-pre2-18-g3a51b51
|
#### $$VERSION$$ v0.962-108-g9f5f061
|
||||||
|
|
||||||
# common variables
|
# common variables
|
||||||
export TESTME DIRME TESTDIR LOGFILE REFDIR TESTNAME
|
export TESTME DIRME TESTDIR LOGFILE REFDIR TESTNAME
|
||||||
@ -56,8 +56,8 @@ compare_sorted() {
|
|||||||
sort -d -o "${1}.sort" "${1}"
|
sort -d -o "${1}.sort" "${1}"
|
||||||
sort -d -o "${2}.sort" "${2}"
|
sort -d -o "${2}.sort" "${2}"
|
||||||
diff -c "${1}.sort" "${2}.sort" || ret=1
|
diff -c "${1}.sort" "${2}.sort" || ret=1
|
||||||
[[ "${1}" != "${TESTDIR}"* ]] && rm -f "${1}"
|
[[ "${1}" != "${TESTDIR}"* ]] && rm -f "${1}.sort"
|
||||||
[[ "${2}" != "${TESTDIR}"* ]] && rm -f "${2}"
|
[[ "${2}" != "${TESTDIR}"* ]] && rm -f "${2}.sort"
|
||||||
return "$ret"
|
return "$ret"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
|
|
@ -1 +0,0 @@
|
|||||||
?
|
|
@ -1 +0,0 @@
|
|||||||
123456789:BASHBOTTESTSCRIPTbashbottestscript_
|
|
Loading…
Reference in New Issue
Block a user