diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/001-no_arguments.sh | 2 | ||||
| -rw-r--r-- | tests/002-missing_arguments.sh | 2 | ||||
| -rw-r--r-- | tests/003-too_many_arguments.sh | 2 | ||||
| -rw-r--r-- | tests/004-unknown_option.sh | 2 | ||||
| -rw-r--r-- | tests/005-missing_argument_for_option.sh | 2 | ||||
| -rw-r--r-- | tests/006-incorrect_buffer_size.sh | 2 | ||||
| -rw-r--r-- | tests/007-incorrect_sector_size.sh | 2 | ||||
| -rw-r--r-- | tests/008-help_option.sh | 2 | ||||
| -rw-r--r-- | tests/100-cannot_open_files.sh | 2 | ||||
| -rw-r--r-- | tests/200-input_and_reference_size_differs.sh | 2 | ||||
| -rw-r--r-- | tests/201-input_or_reference_size_is_not_multiple_of_sector_size.sh | 2 | ||||
| -rw-r--r-- | tests/300-incorrect_reference_file.sh | 2 | ||||
| -rw-r--r-- | tests/400-successful_backup_restore.sh | 2 | ||||
| -rw-r--r-- | tests/Makefile | 2 |
14 files changed, 14 insertions, 14 deletions
diff --git a/tests/001-no_arguments.sh b/tests/001-no_arguments.sh index 150b0df..b7f76dc 100644 --- a/tests/001-no_arguments.sh +++ b/tests/001-no_arguments.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/002-missing_arguments.sh b/tests/002-missing_arguments.sh index 4e1d0e3..a8cb13c 100644 --- a/tests/002-missing_arguments.sh +++ b/tests/002-missing_arguments.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/003-too_many_arguments.sh b/tests/003-too_many_arguments.sh index fc51a42..3bdc55f 100644 --- a/tests/003-too_many_arguments.sh +++ b/tests/003-too_many_arguments.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/004-unknown_option.sh b/tests/004-unknown_option.sh index 35ba4d6..3373b0c 100644 --- a/tests/004-unknown_option.sh +++ b/tests/004-unknown_option.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/005-missing_argument_for_option.sh b/tests/005-missing_argument_for_option.sh index faccbdd..aa7a899 100644 --- a/tests/005-missing_argument_for_option.sh +++ b/tests/005-missing_argument_for_option.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/006-incorrect_buffer_size.sh b/tests/006-incorrect_buffer_size.sh index 476a30e..4cd5bf7 100644 --- a/tests/006-incorrect_buffer_size.sh +++ b/tests/006-incorrect_buffer_size.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/007-incorrect_sector_size.sh b/tests/007-incorrect_sector_size.sh index 3a170c4..ce53d05 100644 --- a/tests/007-incorrect_sector_size.sh +++ b/tests/007-incorrect_sector_size.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/008-help_option.sh b/tests/008-help_option.sh index d874780..494aeac 100644 --- a/tests/008-help_option.sh +++ b/tests/008-help_option.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/100-cannot_open_files.sh b/tests/100-cannot_open_files.sh index 07eb574..4e5bb6b 100644 --- a/tests/100-cannot_open_files.sh +++ b/tests/100-cannot_open_files.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/200-input_and_reference_size_differs.sh b/tests/200-input_and_reference_size_differs.sh index 50e7ff6..a17ecab 100644 --- a/tests/200-input_and_reference_size_differs.sh +++ b/tests/200-input_and_reference_size_differs.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/201-input_or_reference_size_is_not_multiple_of_sector_size.sh b/tests/201-input_or_reference_size_is_not_multiple_of_sector_size.sh index 0cb8207..2dd7d44 100644 --- a/tests/201-input_or_reference_size_is_not_multiple_of_sector_size.sh +++ b/tests/201-input_or_reference_size_is_not_multiple_of_sector_size.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/300-incorrect_reference_file.sh b/tests/300-incorrect_reference_file.sh index 5e03c72..ea52ab2 100644 --- a/tests/300-incorrect_reference_file.sh +++ b/tests/300-incorrect_reference_file.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/400-successful_backup_restore.sh b/tests/400-successful_backup_restore.sh index 517a458..bf07a00 100644 --- a/tests/400-successful_backup_restore.sh +++ b/tests/400-successful_backup_restore.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash source ./assert.sh diff --git a/tests/Makefile b/tests/Makefile index fb58ff6..f34fb0d 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,7 +3,7 @@ PROGRAM_EXEC=../src/$(PROGRAM_NAME) all: for t in [0-9]*.sh ; do \ echo $$t; \ - sh ./$$t ../src/diff-dd; \ + bash ./$$t ../src/diff-dd; \ # Testing of the return value must return true on the test failure. \ # If the return value is zero, it means a successful test. \ [ $$? -ne 0 ] && exit 1 || true; \ |
