May I request 2 code reviewers for the changes for:

6914152 zonecfg fails when less(1M) is missing
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6914152

http://cr.opensolaris.org/~batschul/zpager/

thanks!
frankB

1) old failure when $PAGER was bogus:

osoldev.root./export/home/batschul/tmp.=> setenv PAGER foobar

osoldev.root./export/home/batschul/tmp.=> zonecfg -z zone2
zonecfg:zone2> info
sh: line 1: foobar: not found

zonecfg:zone2> help
sh: line 1: foobar: not found

zonecfg:zone2> help add
usage:
add <resource-type>
        (global scope)
add <property-name> <property-value>
        (resource scope)
        Add specified resource to configuration.

sh: line 1: foobar: not found

2) new failure mode when $PAGER is bogus:

osoldev.root./export/home/batschul.=> setenv PAGER nonsense

osoldev.root./export/home/batschul.=> zonecfg -z zone2
zonecfg:zone2> info
Could not stat PAGER nonsense: No such file or directory
zonename: zone2
zonepath: /tank/zones/zone2
brand: ipkg
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:

zonecfg:zone2> help
Could not stat PAGER nonsense: No such file or directory
Commands:

add <resource-type>
        (global scope)
add <property-name> <property-value>
        (resource scope)
        Add specified resource to configuration.
.....

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to