mirror of https://github.com/databricks/cli.git
18 lines
584 B
Plaintext
18 lines
584 B
Plaintext
mkdir out_dir_a
|
|
mkdir out_dir_b
|
|
|
|
touch out_dir_a/only_in_a
|
|
touch out_dir_b/only_in_b
|
|
|
|
echo Hello! >> out_dir_a/output.txt
|
|
echo Hello! >> out_dir_b/output.txt
|
|
|
|
curl -s $DATABRICKS_HOST/api/2.0/preview/scim/v2/Me >> out_dir_a/output.txt
|
|
printf "\n\nFooter" >> out_dir_a/output.txt
|
|
printf '{\n "id": "7d639bad-ac6d-4e6f-abd7-9522a86b0239",\n "userName": "[USERNAME]"\n}\n\nFooter' >> out_dir_b/output.txt
|
|
|
|
# Unlike regular diff, diff.py will apply replacements first before doing the comparison
|
|
errcode trace diff.py out_dir_a out_dir_b
|
|
|
|
rm out_dir_a/only_in_a out_dir_b/only_in_b
|