Apparently, the grading is only accepting the results only if
thiscommand is run:
this, which is more common (note the order of switches):diff -ru
*** Bug 122702 has been marked as a duplicate of this bug. ***
The reason this fails is because diff -r always includes the complete
command-line used to generate each comparison. Thus the outputs of
diff -ur and diff -ru will always be different though never in a
* Alter the back-end to diff the result of `grep -v ^diff filename`
instead of filename (this should not result in any false positives
since anything from the actual text of the documents should be
preceeded with '+++' or '---'.
* Alter the exercise to do a diff -u on two individual files instead
of on a directory tree.
* Alter the exercise to do a diff -r (without other arguments) on the
Bowe and I will work on this and update the courseware as nescessary.
Fix is in CVS.
The simplest solution was chosen: The exercise now has the student do
a recursive diff instead of a unified, recursive diff.
updated script to match text