76 *)
77 echo "$ROOT has unknown architecture." >&2
78 exit 1
79 ;;
80 esac
81 if [ -d $ROOT ]; then
82 #
83 # This is the old-style packaging exception list, from
84 # the svr4-specific usr/src/pkgdefs
85 #
86 [ -f $SRC/pkgdefs/etc/exception_list_$arch ] && \
87 validate_paths '-s/\s*'$arch'$//' $excl -b $ROOT \
88 $args $SRC/pkgdefs/etc/exception_list_$arch
89 #
90 # These are the new-style packaging exception lists,
91 # from the repository-wide exception_lists/ directory.
92 #
93 e="$CODEMGR_WS/exception_lists/packaging"
94 for f in $e; do
95 if [ -f $f ]; then
96 nawk 'NF == 1 || /[ ]\+'$arch'$/ { print; }' \
97 < $f | validate_paths -b $ROOT -n $f
98 fi
99 done
100 fi
101 done
102
103 # Two entries in the findunref exception_list deal with things created
104 # by nightly. Otherwise, this test could be run on an unmodifed (and
105 # unbuilt) workspace. We handle this by flagging the one that is
106 # present only on a built workspace (./*.out) and the one that's
107 # present only after a run of findunref (./*.ref) with ISUSED, and
108 # disabling all checks of them. The assumption is that the entries
109 # marked with ISUSED are always known to be good, thus the Latin quote
110 # at the top of the file.
111 #
112 # The exception_list is generated from whichever input files are appropriate
113 # for this workspace, so checking it obviates the need to check the inputs.
114
115 if [ -r $SRC/tools/findunref/exception_list ]; then
116 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
|
76 *)
77 echo "$ROOT has unknown architecture." >&2
78 exit 1
79 ;;
80 esac
81 if [ -d $ROOT ]; then
82 #
83 # This is the old-style packaging exception list, from
84 # the svr4-specific usr/src/pkgdefs
85 #
86 [ -f $SRC/pkgdefs/etc/exception_list_$arch ] && \
87 validate_paths '-s/\s*'$arch'$//' $excl -b $ROOT \
88 $args $SRC/pkgdefs/etc/exception_list_$arch
89 #
90 # These are the new-style packaging exception lists,
91 # from the repository-wide exception_lists/ directory.
92 #
93 e="$CODEMGR_WS/exception_lists/packaging"
94 for f in $e; do
95 if [ -f $f ]; then
96 /usr/xpg4/bin/awk 'NF == 1 || /[ ]\+'$arch'$/ { print; }' \
97 < $f | validate_paths -b $ROOT -n $f
98 fi
99 done
100 fi
101 done
102
103 # Two entries in the findunref exception_list deal with things created
104 # by nightly. Otherwise, this test could be run on an unmodifed (and
105 # unbuilt) workspace. We handle this by flagging the one that is
106 # present only on a built workspace (./*.out) and the one that's
107 # present only after a run of findunref (./*.ref) with ISUSED, and
108 # disabling all checks of them. The assumption is that the entries
109 # marked with ISUSED are always known to be good, thus the Latin quote
110 # at the top of the file.
111 #
112 # The exception_list is generated from whichever input files are appropriate
113 # for this workspace, so checking it obviates the need to check the inputs.
114
115 if [ -r $SRC/tools/findunref/exception_list ]; then
116 validate_paths -k ISUSED -r -e '^\*' $SRC/tools/findunref/exception_list
|