summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlberto <alberto.ruiz@codethink.co.uk>2011-10-03 15:57:38 +0100
committerAlberto <alberto.ruiz@codethink.co.uk>2011-10-03 15:57:38 +0100
commit89fd8c09238b252b7e66c803937ddc9e8b5e2cd2 (patch)
tree3c44b9246ebfbe70d4e8fae99e836fe7e77ca613 /tests
parent7000a3a6909294aed8c3ad794edbdddc3261c45c (diff)
downloadtbdiff-89fd8c09238b252b7e66c803937ddc9e8b5e2cd2.tar.gz
Additions to the testing README
Diffstat (limited to 'tests')
-rwxr-xr-xtests/02_symlink_add_remove.sh4
-rwxr-xr-xtests/03_regular_file_add_remove.sh4
2 files changed, 0 insertions, 8 deletions
diff --git a/tests/02_symlink_add_remove.sh b/tests/02_symlink_add_remove.sh
index e4b81a9..6fe54d8 100755
--- a/tests/02_symlink_add_remove.sh
+++ b/tests/02_symlink_add_remove.sh
@@ -11,16 +11,12 @@ TEST_TOOLS=$3
############# Test specific code ############
-# This test checks that normal files content and metadata are
-
function setup {
ln -s /foo $ORIGIN/remove && \
ln -s /bar $TARGET/add && \
chown -h :cdrom $TARGET/add
}
-# check_same_mtime FILE_A FILE_B
-
function check_results {
test -L $ORIGIN/add && \
test ! -L $ORIGIN/remove && \
diff --git a/tests/03_regular_file_add_remove.sh b/tests/03_regular_file_add_remove.sh
index f8b5652..cdf3eab 100755
--- a/tests/03_regular_file_add_remove.sh
+++ b/tests/03_regular_file_add_remove.sh
@@ -11,16 +11,12 @@ TEST_TOOLS=$3
############# Test specific code ############
-# This test checks that normal files content and metadata are
-
function setup {
touch $ORIGIN/remove && \
echo 1 > $TARGET/add && \
chown -h :cdrom $TARGET/add
}
-# check_same_mtime FILE_A FILE_B
-
function check_results {
test -f $ORIGIN/add && \
test ! -f $ORIGIN/remove && \