Skip to content

Commit

Permalink
Fix UID with travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Teka101 authored and teunis90 committed Jan 12, 2018
1 parent 0e368e0 commit 7168430
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -17,8 +17,8 @@ before_install:
- sudo addgroup --gid 3006 group3
- sudo addgroup --gid 3007 group4
- sudo addgroup --gid 3008 group5
- sudo adduser --home /home/test --shell /usr/bin/mysecureshell --uid 2002 --gid 3003 --disabled-password --gecos "" test
- sudo adduser --home /home/test2 --shell /usr/bin/mysecureshell --uid 2003 --gid 3003 --disabled-password --gecos "" test2
- sudo adduser --home /home/test --shell /usr/bin/mysecureshell --uid 4002 --gid 3003 --disabled-password --gecos "" test
- sudo adduser --home /home/test2 --shell /usr/bin/mysecureshell --uid 4003 --gid 3003 --disabled-password --gecos "" test2
- echo 'test:test' | sudo chpasswd
- if [ $TRAVIS_OS_NAME == linux ]; then sudo apt-get update && sudo apt-get install -y libacl1-dev libgnutls28-dev acl clang; fi
# - if [ $TRAVIS_OS_NAME == osx ]; then brew update && brew install llvm35 && brew link --force llvm35; fi
Expand Down
10 changes: 5 additions & 5 deletions tests/test_301_ListDir.xml
Expand Up @@ -9,7 +9,7 @@
<flags>7</flags><!-- SSH_FILEXFER_ATTR_PERMISSIONS(4) | SSH_FILEXFER_ATTR_V3_UIDGID(2) | SSH_FILEXFER_ATTR_SIZE(1) -->
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -21,7 +21,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -33,7 +33,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -45,7 +45,7 @@
<flags>7</flags>
<type>0</type>
<size>256</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand Down Expand Up @@ -141,7 +141,7 @@
<flags>7</flags>
<type>0</type>
<size>256</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand Down
10 changes: 5 additions & 5 deletions tests/test_351_ListDir.xml
Expand Up @@ -9,7 +9,7 @@
<flags>7</flags><!-- SSH_FILEXFER_ATTR_PERMISSIONS(4) | SSH_FILEXFER_ATTR_V3_UIDGID(2) | SSH_FILEXFER_ATTR_SIZE(1) -->
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -21,7 +21,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -33,7 +33,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -45,7 +45,7 @@
<flags>7</flags>
<type>0</type>
<size>256</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand Down Expand Up @@ -141,7 +141,7 @@
<flags>7</flags>
<type>0</type>
<size>256</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand Down
12 changes: 6 additions & 6 deletions tests/test_354_ListDir_out_of_chroot.xml
Expand Up @@ -9,7 +9,7 @@
<flags>7</flags><!-- SSH_FILEXFER_ATTR_PERMISSIONS(4) | SSH_FILEXFER_ATTR_V3_UIDGID(2) | SSH_FILEXFER_ATTR_SIZE(1) -->
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand All @@ -33,7 +33,7 @@
<flags>7</flags>
<type>0</type>
<size>220</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand All @@ -44,7 +44,7 @@
<attrib>0</attrib>
<flags>6</flags>
<type>0</type>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>33188</permissions>
</attributes>
Expand All @@ -56,7 +56,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16832</permissions>
</attributes>
Expand All @@ -67,7 +67,7 @@
<attrib>0</attrib>
<flags>2</flags>
<type>0</type>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
</attributes>
</protocol.objects.SftpFile>
Expand All @@ -78,7 +78,7 @@
<flags>7</flags>
<type>0</type>
<size>4096</size>
<owner>2002</owner>
<owner>4002</owner>
<group>3003</group>
<permissions>16877</permissions>
</attributes>
Expand Down

0 comments on commit 7168430

Please sign in to comment.