Skip to content

Commit

Permalink
Fix the combo test and nuke ctool
Browse files Browse the repository at this point in the history
* Delete ctool -- we weren't actually using it.
* Make sure to set ACLs on the many-metadata test before setting the uappnd
  flag, otherwise setting them fails.


git-svn-id: svn+ssh://svn.n8gray.org/svnroot/n8gray/public/backup-bouncer@165 c73bc784-a200-0410-bfa9-bab0993648b8
  • Loading branch information
n8gray committed Sep 16, 2009
1 parent 1223e52 commit 5ae59c4
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 1,736 deletions.
2 changes: 1 addition & 1 deletion tests.d/90-fifo.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ verify () {
cd $1

test -p ./some-fifo \
&& compare ./some-fifo $2/some-fifo
&& compare ./some-fifo $2/some-fifo
}

clean () {
Expand Down
4 changes: 2 additions & 2 deletions tests.d/99-combo-tests.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ create () {
xattr-util w big.time3 "so much larger than life" many-metadata
echo "Jack-knifed Juggernaut" > many-metadata/..namedfork/rsrc
chmod 604 many-metadata
chflags uappnd,nodump many-metadata
SetFile -a ABCDEIMNSTVZ many-metadata
chmod +a "www allow read" many-metadata
chmod +a "nobody allow read" many-metadata
sudo chown www:www many-metadata
chflags uappnd,nodump many-metadata
# Lock the file to make sure the copier doesn't lock it too early
SetFile -a L many-metadata
sudo SetFile -a L many-metadata

# I've been told that Apple's rsync once had a problem with the combination
# of hardlinks and resource forks. Let's try it
Expand Down
5 changes: 0 additions & 5 deletions util/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
ctool_version=1.2.3

CFLAGS=-Wall

all: xattr-util hardlink-util
(cd ctool-$(ctool_version); make)
ln -fs ctool-$(ctool_version)/ctool .

clean:
rm -f xattr-util hardlink-util
(cd ctool-$(ctool_version); make clean)

.PHONY: all clean
1 change: 1 addition & 0 deletions util/copy-runner
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if can-copy; then
version >> $dst/meta

backup $src $dst &> $dst/log
#backup $src $dst | tee $dst/log
exit $?
else
echo "Skipping: can't find needed files"
Expand Down
50 changes: 0 additions & 50 deletions util/ctool-1.2.3/ChangeLog

This file was deleted.

27 changes: 0 additions & 27 deletions util/ctool-1.2.3/INSTALL

This file was deleted.

51 changes: 0 additions & 51 deletions util/ctool-1.2.3/LICENSE

This file was deleted.

17 changes: 0 additions & 17 deletions util/ctool-1.2.3/Makefile

This file was deleted.

68 changes: 0 additions & 68 deletions util/ctool-1.2.3/README

This file was deleted.

Loading

0 comments on commit 5ae59c4

Please sign in to comment.