fi
cp -a /usr/lib/python3/dist-packages/pydicom/data/test_files/CT_small.dcm "${AUTOPKGTEST_TMP}"
-cp -a /usr/share/libdcmtk17/dicom.dic "${AUTOPKGTEST_TMP}"
+cp -a /usr/share/dcmtk/dicom.dic "${AUTOPKGTEST_TMP}"
export DCMDICTPATH=${AUTOPKGTEST_TMP}/dicom.dic
cd "${AUTOPKGTEST_TMP}"
-echo "15e7e2a11cdeabac32e1134674beda6b CT_small.dcm" >> checksums
+echo "896048a80ff192ca8b6d9a1ba29d64fd CT_small.dcm" >> checksums
echo "Running Tests"
echo "Test 9"
-dcmodify -e "(0008,0031)" CT_small.dcm
+# only write the dataset so that the file meta information
+# does not change and we can keep the same md5sum
+
+dcmodify --write-dataset -e "(0008,0031)" CT_small.dcm
echo "Test 10"