Fix command used to copy files in linux and macOS (#943)

The command `copy` is used on Windows systems. Running the test on macOS and Linux will cause an error.
This commit is contained in:
hypnoticpattern
2020-04-16 15:20:30 -07:00
committed by GitHub
parent 61419072db
commit ef1a8aeb05
+1 -1
View File
@@ -21,7 +21,7 @@ atomic_tests:
name: sh
elevation_required: true
command: |
copy #{payload} /tmp/hello.c
cp #{payload} /tmp/hello.c
cd /tmp
sudo chown root hello.c
sudo make hello