~sircmpwn/ctools

30a7ec42909479499691951c32c9208489fd0aa1 — Drew DeVault 1 year, 2 months ago 070ec50
test/chmod: fix awk usage
1 files changed, 2 insertions(+), 2 deletions(-)

M test/chmod
M test/chmod => test/chmod +2 -2
@@ 36,7 36,7 @@ should_handle_octal_modes() (

octtodec() {
	oct=$1
	awk 'BEGIN { printf "%d\n" '"0$oct"'; print }' | tail -n1
	awk 'BEGIN { printf "%d\n", '"0$oct"' }'
}

# should_handle_syms op baseline expected_result_fn


@@ 88,7 88,7 @@ should_handle_syms() (

	rm "$TMPDIR"/map
	chmod 644 "$f"
	rm "$f"
	#rm "$f"

	return $ret
)