summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/end-to-end/serve-service/serve_query_target_cache_value.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/end-to-end/serve-service/serve_query_target_cache_value.sh b/test/end-to-end/serve-service/serve_query_target_cache_value.sh
index ff688a06..a0303f53 100644
--- a/test/end-to-end/serve-service/serve_query_target_cache_value.sh
+++ b/test/end-to-end/serve-service/serve_query_target_cache_value.sh
@@ -149,4 +149,21 @@ echo "failed as expected"
--log-limit 5 \
-D '{"ENV": {"TOOLS": "'${TOOLS_DIR}'"}}' 2>&1
+# Verify that the export target is fully in cache
+"${JUST}" install \
+ --local-build-root "${LBR}" \
+ -C "${CONF}" \
+ --remote-serve-address "${SERVE}" \
+ -r "${REMOTE_EXECUTION_ADDRESS}" \
+ ${COMPAT} \
+ ${REMOTE_PROPERTIES} \
+ ${DISPATCH} \
+ --log-limit 5 \
+ -o "${OUT}" \
+ -D '{"ENV": {"TOOLS": "'${TOOLS_DIR}'"}}' 2>&1
+ls -R "${OUT}"
+test -f "${OUT}/out/hello/world/tree/hello.txt"
+test -f "${OUT}/out/hello/world/tree/name.txt"
+test "$(cat "${OUT}/out/hello/world/tree/name.txt")" = "World"
+
echo OK