97 done
98
99 # Two entries in the findunref exception_list deal with things created
100 # by nightly. Otherwise, this test could be run on an unmodifed (and
101 # unbuilt) workspace. We handle this by flagging the one that is
102 # present only on a built workspace (./*.out) and the one that's
103 # present only after a run of findunref (./*.ref) with ISUSED, and
104 # disabling all checks of them. The assumption is that the entries
105 # marked with ISUSED are always known to be good, thus the Latin quote
106 # at the top of the file.
107 #
108 # The exception_list is generated from whichever input files are appropriate
109 # for this workspace, so checking it obviates the need to check the inputs.
110
111 if [ -r $SRC/tools/findunref/exception_list ]; then
112 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
113 fi
114
115 if [ -f $SRC/tools/opensolaris/license-list ]; then
116 sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \
117 validate_paths -n SRC/tools/opensolaris/license-list \
118 -e ^usr/closed
119 fi
120
121 # Finally, make sure the that (req|inc).flg files are in good shape.
122 # If SCCS files are not expected to be present, though, then don't
123 # check them.
124 if [ ! -d "$CODEMGR_WS/Codemgr_wsdata" ]; then
125 f_flg='-f'
126 fi
127
128 validate_flg $f_flg -e ^usr/closed/
129
130 exit 0
|
97 done
98
99 # Two entries in the findunref exception_list deal with things created
100 # by nightly. Otherwise, this test could be run on an unmodifed (and
101 # unbuilt) workspace. We handle this by flagging the one that is
102 # present only on a built workspace (./*.out) and the one that's
103 # present only after a run of findunref (./*.ref) with ISUSED, and
104 # disabling all checks of them. The assumption is that the entries
105 # marked with ISUSED are always known to be good, thus the Latin quote
106 # at the top of the file.
107 #
108 # The exception_list is generated from whichever input files are appropriate
109 # for this workspace, so checking it obviates the need to check the inputs.
110
111 if [ -r $SRC/tools/findunref/exception_list ]; then
112 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
113 fi
114
115 if [ -f $SRC/tools/opensolaris/license-list ]; then
116 sed -e 's/$/.descrip/' < $SRC/tools/opensolaris/license-list | \
117 validate_paths -n SRC/tools/opensolaris/license-list
118 fi
119
120 validate_flg -f
121
122 exit 0
|