Collin Funk <[email protected]> writes: > +for backup in '' off t nil; do > + test -n "$backup" && backup=--backup=$backup
Oops, I forgot about the "never" backup option. I pushed it with this tiny change: --- a/tests/install/basic-1.sh +++ b/tests/install/basic-1.sh @@ -32,7 +32,7 @@ echo foo > $file || framework_failure_ cat <<EOF >exp || framework_failure_ ginstall: '$file' and '$file' are the same file EOF -for backup in '' off t nil; do +for backup in '' off t nil never; do test -n "$backup" && backup=--backup=$backup returns_ 1 ginstall $backup $file $file >out 2>err || fail=1 compare /dev/null out || fail=1 Collin
