From 6695045aa6da08d572363fe14c7c7565c7bfcb9b Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Mon, 4 Nov 2013 10:11:13 +0000 Subject: Conversion of tbdiff directory tests Disabled (renamed) old tests that have been converted Removed compilation instruction for symtime.c from README --- tests/fifo_diff.sh.disabled | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 tests/fifo_diff.sh.disabled (limited to 'tests/fifo_diff.sh.disabled') diff --git a/tests/fifo_diff.sh.disabled b/tests/fifo_diff.sh.disabled new file mode 100755 index 0000000..f256414 --- /dev/null +++ b/tests/fifo_diff.sh.disabled @@ -0,0 +1,32 @@ +#!/bin/bash + +TEST_ID="02" +TEST_NAME="Named pipe (FIFO) diff test" + +CREATE=`pwd`/$1 +DEPLOY=`pwd`/$2 +TEST_TOOLS=$3 + +. ./test_lib.sh + +############# Test specific code ############ + +setup_origin () { + mkfifo $ORIGIN/remove +} + +setup_target () { + mkfifo $TARGET/add && + chmod 707 $TARGET/add && + chown -h :cdrom $TARGET/add +} + +check_results () { + test -p $ORIGIN/add && \ + test ! -p $ORIGIN/remove && \ + check_same_mtime $ORIGIN/add $TARGET/add && \ + check_same_uidgid $ORIGIN/add $TARGET/add +} + +############################################# +main $@ -- cgit v1.2.1