Permalink
Browse files

Prepare for a release:

* comment out the test for hardlinked directories for now.
* Make autopilot require root
* Clarify the README info about installation


git-svn-id: svn+ssh://svn.n8gray.org/svnroot/n8gray/public/backup-bouncer@156 c73bc784-a200-0410-bfa9-bab0993648b8
  • Loading branch information...
1 parent b946042 commit b2e871262146144491ce6cb6d911f9358e8a591d n8gray committed Jun 9, 2008
Showing with 17 additions and 9 deletions.
  1. +3 −0 README
  2. +5 −0 autopilot
  3. +9 −9 tests.d/20-hardlinks.test
View
@@ -34,6 +34,9 @@ Installation & Usage
1. run "make"
2. there's no step 2.
+To be clear, you do NOT install backup bouncer, you simply run it from the place
+you unpacked it.
+
You can now run "bbouncer" with no arguments for usage info. Or, you can run
"./autopilot" to automatically generate some disk images, run all tests, and see
the results. Also take a look in the scripts directory for scripts you can use
View
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ "`id -u`" != "0" ]; then
+ echo "autopilot needs to be run as: sudo autopilot"
+ exit 1
+fi
+
echo "We're now going to create two disk images, create some files on one,"
echo "copy them to the other, and find out what metadata was preserved."
echo
@@ -10,9 +10,9 @@ create () {
ln ./link1 link3
# Leopard allows hard links to directories
- mkdir dir1
- mkdir dir2
- hardlink-util dir1 dir2/dir1-link
+ # mkdir dir1
+ # mkdir dir2
+ # hardlink-util dir1 dir2/dir1-link
}
@@ -29,14 +29,14 @@ verify () {
x1=$?
subtest "on files" $x1
- stat -f "%i" dir1 > $tmpfile
- stat -f "%i" dir2/dir1-link >> $tmpfile
- test "`uniq $tmpfile | wc -l | awk '{print $1}'`" = "1"
- x2=$?
- subtest "on directories" $x2
+ # stat -f "%i" dir1 > $tmpfile
+ # stat -f "%i" dir2/dir1-link >> $tmpfile
+ # test "`uniq $tmpfile | wc -l | awk '{print $1}'`" = "1"
+ # x2=$?
+ # subtest "on directories" $x2
rm -f $tmpfile
- alltrue $x1 $x2
+ alltrue $x1
}
clean () {

0 comments on commit b2e8712

Please sign in to comment.