Skip to content
Snippets Groups Projects
Commit 7b3ae960 authored by Michael Davis's avatar Michael Davis
Browse files

[ci] Tweaks to grpc_dir_inject.sh

parent fcfb709c
No related branches found
No related tags found
No related merge requests found
......@@ -53,11 +53,12 @@ json-pretty-print.sh ${TMPFILE}
rm ${TMPFILE}
${EOS_CMD} ls -l ${EOS_PREFIX}
${EOS_CMD} fileinfo ${EOS_PREFIX}/test_dir1
${EOS_CMD} -r 2 2 rmdir ${EOS_PREFIX}/test_dir1
#${EOS_CMD} rmdir ${EOS_PREFIX}/test_dir1
/usr/bin/eos -r 2 2 root://${EOSINSTANCE} rmdir ${EOS_PREFIX}/test_dir1
# Create directory with self-assigned file id -- should succeed
echoc $LT_BLUE "Creating directory with self-assigned file id"
${EOS_TEST_DIR_INJECT} --fileid 9876543210 --path ${CASTOR_PREFIX}/test_dir2 >${TMPFILE}
${EOS_TEST_DIR_INJECT} --fileid 9876543210 --path ${CASTOR_PREFIX}/test_dir2 | json-pretty-print.sh #>${TMPFILE}
[ $? -eq 0 ] || error "Creating directory with self-assigned file id failed"
json-pretty-print.sh ${TMPFILE}
rm ${TMPFILE}
......@@ -82,5 +83,5 @@ echoc $LT_BLUE "Recreate the directory with self-assigned file id (should succee
${EOS_TEST_DIR_INJECT} --fileid 9876543210 --path ${CASTOR_PREFIX}/test_dir2 >/dev/null
[ $? -eq 0 ] || error "Creating directory with self-assigned file id failed with error $?"
${EOS_CMD} fileinfo ${EOS_PREFIX}/test_dir2
${EOS_CMD} -r 2 2 rmdir ${EOS_PREFIX}/test_dir2
${EOS_CMD} rmdir ${EOS_PREFIX}/test_dir2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment