summaryrefslogtreecommitdiff
path: root/tests/long/fs/80.solaris-boot/test.py
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2017-04-05 09:53:43 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2017-04-05 10:28:55 +0000
commitc7f92c43da5b5d96b4287c418beaab3e56a91137 (patch)
treef90431a6d0b260954723bcd3434fd79b440edd4c /tests/long/fs/80.solaris-boot/test.py
parent567a9b0a085d79c6bc9128204946cd6155960a9f (diff)
downloadgem5-c7f92c43da5b5d96b4287c418beaab3e56a91137.tar.xz
scons: Fix hook installation error caused by stale cache
Due to the way SCons caches some file system state internally, it sometimes "remembers" that a file or directory didn't exist at some point. The git hook installation script sometimes needs to create a hooks directory in the repository. Due to the cached state of the hooks directory, the build system tries to create it twice. The second mkdir operation leads to an error since the directory already exists. Fix this issue by clearing the cached state of the hooks directory after creating it. Change-Id: I3f67f75c06ef928b439a0742f7619b7e92ed093b Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/2660 Reviewed-by: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'tests/long/fs/80.solaris-boot/test.py')
0 files changed, 0 insertions, 0 deletions