Skip to content
Snippets Groups Projects

run-aa-test: Fix call to csplit

Merged Frederic Danis requested to merge wip/fdanis/7938-Fix-csplit-error into apertis/v2022dev3
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -143,7 +143,7 @@ echo "#---8<--- expected parsed apparmor output from journal"
cat ${EXPECT_FILE} | sed 's/^/# /'
echo "#--->8---"
csplit ${EXPECT_FILE} -f ${TMP_DIR}/EXPECT -b "%d" "/^${ALTERNATIVE_SEPARATOR}$/" {*}
csplit ${EXPECT_FILE} -f ${TMP_DIR}/EXPECT -b "%0d" "/^${ALTERNATIVE_SEPARATOR}$/" {*}
# Old versions of csplit don't provide "--suppress-matched", strip separator separately
for FILE in ${TMP_DIR}/EXPECT*; do
Loading