New version!
- Fixed bug related to Bash version that affected Darwin systems; - Fixed bug with file existence check; - Fixed minor issues; - Fixed various typos; - Added verbose mode; - Added packages for Debian and RHEL.
This commit is contained in:
4
tests.sh
4
tests.sh
@@ -51,13 +51,13 @@ create_files() {
|
||||
}
|
||||
|
||||
execute_backup() {
|
||||
./backup.sh -c -b sources.bk "$PWD" badpw
|
||||
./backup.sh -V -c -b sources.bk "$PWD" badpw
|
||||
}
|
||||
|
||||
extract_backup() {
|
||||
host="$(uname -n)"
|
||||
date="$(date +'%Y%m%d')"
|
||||
./backup.sh -c -e "$PWD"/backup-"$host"-"$date".tar.gz.enc badpw "$PWD"/backup-"$host"-"$date".sha256
|
||||
./backup.sh -V -c -e "$PWD"/backup-"$host"-"$date".tar.gz.enc badpw "$PWD"/backup-"$host"-"$date".sha256
|
||||
}
|
||||
|
||||
test_backup() {
|
||||
|
||||
Reference in New Issue
Block a user